pub struct CycleId(/* private fields */);Expand description
Numeric identifier of a control cycle
Periodic control cycles are usually distinguished by their frequency. This identifier allows to reference control cycles independent of their actual properties.
Implementations§
Source§impl CycleId
impl CycleId
pub const fn from_value(value: CycleIdValue) -> Self
pub const fn to_value(self) -> CycleIdValue
Trait Implementations§
Source§impl From<CycleId> for CycleIdValue
impl From<CycleId> for CycleIdValue
Source§impl From<u16> for CycleId
impl From<u16> for CycleId
Source§fn from(from: CycleIdValue) -> Self
fn from(from: CycleIdValue) -> Self
Converts to this type from the input type.
Source§impl Ord for CycleId
impl Ord for CycleId
Source§impl PartialOrd for CycleId
impl PartialOrd for CycleId
impl Copy for CycleId
impl Eq for CycleId
impl StructuralPartialEq for CycleId
Auto Trait Implementations§
impl Freeze for CycleId
impl RefUnwindSafe for CycleId
impl Send for CycleId
impl Sync for CycleId
impl Unpin for CycleId
impl UnwindSafe for CycleId
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