pub struct Version {
pub major: u64,
pub minor: u64,
pub patch: u64,
pub pre: &'static [Identifier],
pub build: &'static [Identifier],
}
Fields§
§major: u64
§minor: u64
§patch: u64
§pre: &'static [Identifier]
§build: &'static [Identifier]
Implementations§
Trait Implementations§
Source§impl Ord for Version
impl Ord for Version
Source§impl PartialOrd for Version
impl PartialOrd for Version
impl Eq 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