pub struct Version {
pub major: u32,
pub minor: u32,
pub patch: u32,
}Expand description
A utility type that represents a semantic version.
This type is used for representing Alloy meta-information such as the
engine VERSION.
Fields§
§major: u32The major version component
minor: u32The minor version component
patch: u32The patch version component
Trait Implementations§
source§impl Ord for Version
impl Ord for Version
source§impl PartialOrd for Version
impl PartialOrd 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