pub struct Version {
pub major: u64,
pub minor: u64,
pub patch: u64,
pub none: bool,
}
Expand description
Version struct for standard version extraction from executables via --version
output
Fields§
§major: u64
§minor: u64
§patch: u64
§none: bool
Implementations§
Trait Implementations§
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