pub struct Version {
pub x: u32,
pub y: Option<u32>,
pub z: Option<u32>,
}
Expand description
A version number in the form x.y.z
.
Fields§
§x: u32
The x
component of the version number.
y: Option<u32>
The y
component of the version number.
z: Option<u32>
The z
component of the version number.
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