pub struct DbnVersion(/* private fields */);Expand description
New type for validating DBN versions.
Implementations§
Trait Implementations§
Source§impl Clone for DbnVersion
impl Clone for DbnVersion
Source§fn clone(&self) -> DbnVersion
fn clone(&self) -> DbnVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DbnVersion
Source§impl Debug for DbnVersion
impl Debug for DbnVersion
impl Eq for DbnVersion
Source§impl Ord for DbnVersion
impl Ord for DbnVersion
Source§fn cmp(&self, other: &DbnVersion) -> Ordering
fn cmp(&self, other: &DbnVersion) -> Ordering
1.21.0 (const: unstable) · 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 DbnVersion
impl PartialEq for DbnVersion
Source§fn eq(&self, other: &DbnVersion) -> bool
fn eq(&self, other: &DbnVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialEq<u8> for DbnVersion
impl PartialEq<u8> for DbnVersion
Source§impl PartialOrd for DbnVersion
impl PartialOrd for DbnVersion
Source§impl PartialOrd<u8> for DbnVersion
impl PartialOrd<u8> for DbnVersion
impl StructuralPartialEq for DbnVersion
Auto Trait Implementations§
impl Freeze for DbnVersion
impl RefUnwindSafe for DbnVersion
impl Send for DbnVersion
impl Sync for DbnVersion
impl Unpin for DbnVersion
impl UnsafeUnpin for DbnVersion
impl UnwindSafe for DbnVersion
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