Struct mc_core::util::Version [−][src]
pub struct Version(pub VersionType, pub u16, pub u16, pub u16);Expand description
A version struct tuple used to represent common versions from alpha.
Pre-release and release candidate are not yet representable with this.
The numbers are in the order: major version (always 1 for now), minor version, patch version.
Tuple Fields
0: VersionType1: u162: u163: u16Implementations
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Version
impl UnwindSafe for Version
Blanket Implementations
Mutably borrows from an owned value. Read more
