#[repr(transparent)]pub struct Version(pub u32);Expand description
DCP version register
Tuple Fields§
§0: u32Implementations§
Source§impl Version
impl Version
Sourcepub const fn step(&self) -> u16
pub const fn step(&self) -> u16
Fixed read-only value reflecting the stepping of the version of the design implementation.
Sourcepub const fn set_step(&mut self, val: u16)
pub const fn set_step(&mut self, val: u16)
Fixed read-only value reflecting the stepping of the version of the design implementation.
Sourcepub const fn minor(&self) -> u8
pub const fn minor(&self) -> u8
Fixed read-only value reflecting the MINOR version of the design implementation.
Sourcepub const fn set_minor(&mut self, val: u8)
pub const fn set_minor(&mut self, val: u8)
Fixed read-only value reflecting the MINOR version of the design implementation.
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