Enum Datarate
#[repr(u8)]pub enum Datarate {
_125kbit = 0,
_250kbit = 1,
_500kbit = 2,
_1mbit = 3,
_2mbit = 4,
_4mbit = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
_125kbit = 0
125 Kbps.
_250kbit = 1
250 Kbps.
_500kbit = 2
500 Kbps.
_1mbit = 3
1 Mbps.
_2mbit = 4
2 Mbps.
_4mbit = 5
4 Mbps.
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
impl Copy for Datarate
impl Eq for Datarate
§impl Ord for Datarate
impl Ord for Datarate
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Datarate
impl PartialOrd for Datarate
impl StructuralPartialEq for Datarate
Auto Trait Implementations§
impl Freeze for Datarate
impl RefUnwindSafe for Datarate
impl Send for Datarate
impl Sync for Datarate
impl Unpin for Datarate
impl UnsafeUnpin for Datarate
impl UnwindSafe for Datarate
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