#[repr(transparent)]pub struct Version(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Version
impl Version
Sourcepub const fn set_milestone(&mut self, val: u8)
pub const fn set_milestone(&mut self, val: u8)
Release milestone (0 PREL, 1 BR, 2 SI, 3 GO).
Sourcepub const fn fsm_config(&self) -> bool
pub const fn fsm_config(&self) -> bool
Four-step FSM when clear; eight-step FSM when set.
Sourcepub const fn set_fsm_config(&mut self, val: bool)
pub const fn set_fsm_config(&mut self, val: bool)
Four-step FSM when clear; eight-step FSM when set.
Sourcepub const fn index_config(&self) -> u8
pub const fn index_config(&self) -> u8
Configured number of addressable indexes.
Sourcepub const fn set_index_config(&mut self, val: u8)
pub const fn set_index_config(&mut self, val: u8)
Configured number of addressable indexes.
Trait Implementations§
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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