pub enum SuperframeOrder {
SuperframeOrder(u8),
Inactive,
}Expand description
Superframe order, amount of time during wich this superframe is active
Variants§
SuperframeOrder(u8)
Ammount of time that the superframe is active
superframe duration = base superframe duration × (2 ^ superframe order)
Inactive
No superframes are sent
Trait Implementations§
Source§impl Clone for SuperframeOrder
impl Clone for SuperframeOrder
Source§fn clone(&self) -> SuperframeOrder
fn clone(&self) -> SuperframeOrder
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 SuperframeOrder
Source§impl Debug for SuperframeOrder
impl Debug for SuperframeOrder
impl Eq for SuperframeOrder
Source§impl From<u8> for SuperframeOrder
impl From<u8> for SuperframeOrder
Source§fn from(value: u8) -> SuperframeOrder
fn from(value: u8) -> SuperframeOrder
Convert u8 to superframe order
Source§impl Hash for SuperframeOrder
impl Hash for SuperframeOrder
Source§impl PartialEq for SuperframeOrder
impl PartialEq for SuperframeOrder
impl StructuralPartialEq for SuperframeOrder
Auto Trait Implementations§
impl Freeze for SuperframeOrder
impl RefUnwindSafe for SuperframeOrder
impl Send for SuperframeOrder
impl Sync for SuperframeOrder
impl Unpin for SuperframeOrder
impl UnsafeUnpin for SuperframeOrder
impl UnwindSafe for SuperframeOrder
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more