#[repr(transparent)]pub struct SgiVersion(pub u32);Expand description
SGI Version
Tuple Fields§
§0: u32Implementations§
Source§impl SgiVersion
impl SgiVersion
Sourcepub const fn set_milestone(&mut self, val: u8)
pub const fn set_milestone(&mut self, val: u8)
Release milestone. 00-PREL, 01-BR, 10-SI, 11-GO.
Sourcepub const fn version_rsvd_1(&self) -> u16
pub const fn version_rsvd_1(&self) -> u16
Reserved for Future Use
Sourcepub const fn set_version_rsvd_1(&mut self, val: u16)
pub const fn set_version_rsvd_1(&mut self, val: u16)
Reserved for Future Use
Trait Implementations§
Source§impl Clone for SgiVersion
impl Clone for SgiVersion
Source§fn clone(&self) -> SgiVersion
fn clone(&self) -> SgiVersion
Returns a duplicate 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 moreSource§impl Debug for SgiVersion
impl Debug for SgiVersion
Source§impl Default for SgiVersion
impl Default for SgiVersion
Source§fn default() -> SgiVersion
fn default() -> SgiVersion
Returns the “default value” for a type. Read more
Source§impl PartialEq for SgiVersion
impl PartialEq for SgiVersion
impl Copy for SgiVersion
impl Eq for SgiVersion
impl StructuralPartialEq for SgiVersion
Auto Trait Implementations§
impl Freeze for SgiVersion
impl RefUnwindSafe for SgiVersion
impl Send for SgiVersion
impl Sync for SgiVersion
impl Unpin for SgiVersion
impl UnwindSafe for SgiVersion
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