pub struct Version {
pub major: u8,
pub minor: u8,
pub sub_minor: u8,
}Expand description
Version used to denote the parts of BCD
Fields§
§major: u8Major version XX.0.0
minor: u8Minor version 00.X.0
sub_minor: u8Sub Minor version 00.0.X
Trait Implementations§
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