Enum Rateoverride
#[repr(u8)]pub enum Rateoverride {
_125KBIT = 0,
_RESERVED_1 = 1,
_500KBIT = 2,
_1MBIT = 3,
_2MBIT = 4,
_4MBIT = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
_125KBIT = 0
125 Kbps
_RESERVED_1 = 1
_500KBIT = 2
500 Kbps
_1MBIT = 3
1 Mbps
_2MBIT = 4
2 Mbps
_4MBIT = 5
4 Mbps
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
§impl Rateoverride
impl Rateoverride
pub const fn from_bits(val: u8) -> Rateoverride
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Rateoverride
impl Clone for Rateoverride
§fn clone(&self) -> Rateoverride
fn clone(&self) -> Rateoverride
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<u8> for Rateoverride
impl From<u8> for Rateoverride
§fn from(val: u8) -> Rateoverride
fn from(val: u8) -> Rateoverride
Converts to this type from the input type.
§impl Ord for Rateoverride
impl Ord for Rateoverride
§impl PartialEq for Rateoverride
impl PartialEq for Rateoverride
§impl PartialOrd for Rateoverride
impl PartialOrd for Rateoverride
impl Copy for Rateoverride
impl Eq for Rateoverride
impl StructuralPartialEq for Rateoverride
Auto Trait Implementations§
impl Freeze for Rateoverride
impl RefUnwindSafe for Rateoverride
impl Send for Rateoverride
impl Sync for Rateoverride
impl Unpin for Rateoverride
impl UnwindSafe for Rateoverride
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)