pub struct ModuleVersion {
pub major: u32,
pub minor: u32,
pub patch: u32,
}Expand description
A module version record.
Fields§
§major: u32Major version
minor: u32Minor version
patch: u32Patch version
Implementations§
Trait Implementations§
Source§impl Clone for ModuleVersion
impl Clone for ModuleVersion
Source§fn clone(&self) -> ModuleVersion
fn clone(&self) -> ModuleVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModuleVersion
impl Debug for ModuleVersion
Source§impl PartialEq for ModuleVersion
impl PartialEq for ModuleVersion
impl Eq for ModuleVersion
impl StructuralPartialEq for ModuleVersion
Auto Trait Implementations§
impl Freeze for ModuleVersion
impl RefUnwindSafe for ModuleVersion
impl Send for ModuleVersion
impl Sync for ModuleVersion
impl Unpin for ModuleVersion
impl UnsafeUnpin for ModuleVersion
impl UnwindSafe for ModuleVersion
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