#[repr(C)]pub struct PamojaLoraChannelBlock {
pub start_hz: u32,
pub step_hz: u32,
pub count: u16,
pub min_data_rate: u8,
pub max_data_rate: u8,
}Expand description
A run of evenly spaced channels.
Fields§
§start_hz: u32The first channel’s centre frequency in hertz.
step_hz: u32The spacing between channels in hertz.
count: u16How many channels the block holds.
min_data_rate: u8The slowest data rate the block allows.
max_data_rate: u8The fastest data rate the block allows.
Trait Implementations§
Source§impl Clone for PamojaLoraChannelBlock
impl Clone for PamojaLoraChannelBlock
Source§fn clone(&self) -> PamojaLoraChannelBlock
fn clone(&self) -> PamojaLoraChannelBlock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaLoraChannelBlock
Source§impl Debug for PamojaLoraChannelBlock
impl Debug for PamojaLoraChannelBlock
impl Eq for PamojaLoraChannelBlock
Source§impl PartialEq for PamojaLoraChannelBlock
impl PartialEq for PamojaLoraChannelBlock
Source§fn eq(&self, other: &PamojaLoraChannelBlock) -> bool
fn eq(&self, other: &PamojaLoraChannelBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaLoraChannelBlock
Auto Trait Implementations§
impl Freeze for PamojaLoraChannelBlock
impl RefUnwindSafe for PamojaLoraChannelBlock
impl Send for PamojaLoraChannelBlock
impl Sync for PamojaLoraChannelBlock
impl Unpin for PamojaLoraChannelBlock
impl UnsafeUnpin for PamojaLoraChannelBlock
impl UnwindSafe for PamojaLoraChannelBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more