pub struct BinaryVersion(/* private fields */);Expand description
The version of a binary.
Implementations§
Source§impl BinaryVersion
 
impl BinaryVersion
Sourcepub fn new(value: NonZeroU32) -> Self
 
pub fn new(value: NonZeroU32) -> Self
Creates a new binary version.
Trait Implementations§
Source§impl Debug for BinaryVersion
 
impl Debug for BinaryVersion
Source§impl Ord for BinaryVersion
 
impl Ord for BinaryVersion
Source§fn cmp(&self, other: &BinaryVersion) -> Ordering
 
fn cmp(&self, other: &BinaryVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BinaryVersion
 
impl PartialEq for BinaryVersion
Source§impl PartialOrd for BinaryVersion
 
impl PartialOrd for BinaryVersion
impl Eq for BinaryVersion
impl StructuralPartialEq for BinaryVersion
Auto Trait Implementations§
impl Freeze for BinaryVersion
impl RefUnwindSafe for BinaryVersion
impl Send for BinaryVersion
impl Sync for BinaryVersion
impl Unpin for BinaryVersion
impl UnwindSafe for BinaryVersion
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