pub struct Carrier {
pub frequency_hz: u32,
pub data_rate: u8,
}Expand description
Where a frame goes and how fast: a frequency and a data rate.
Fields§
§frequency_hz: u32The frequency in hertz, which a frame carries in hundreds of hertz.
data_rate: u8The data rate, which a frame carries in four bits.
Implementations§
Trait Implementations§
impl Copy for Carrier
impl Eq for Carrier
impl StructuralPartialEq for Carrier
Auto Trait Implementations§
impl Freeze for Carrier
impl RefUnwindSafe for Carrier
impl Send for Carrier
impl Sync for Carrier
impl Unpin for Carrier
impl UnsafeUnpin for Carrier
impl UnwindSafe for Carrier
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