pub struct Release {
pub major: u8,
pub minor: u8,
}Expand description
majorRelease and minorRelease, two digits each.
Fields§
§major: u8Major release: changes it are incompatible and change the namespace.
minor: u8Minor version: compatible additions.
Implementations§
Trait Implementations§
impl Copy for Release
impl Eq for Release
impl StructuralPartialEq for Release
Auto Trait Implementations§
impl Forget for Release
impl Freeze for Release
impl Move for Release
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnsafeUnpin for Release
impl UnwindSafe for Release
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