pub struct NormalVersion { /* private fields */ }
Expand description
NormalVersion
represents a normal version used for all releases since
Rust 1.0.0.
This struct supports versions in the format
major.minor.patch
Trait Implementations§
Source§impl Clone for NormalVersion
impl Clone for NormalVersion
Source§fn clone(&self) -> NormalVersion
fn clone(&self) -> NormalVersion
Returns a copy 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 NormalVersion
impl Debug for NormalVersion
Source§impl Ord for NormalVersion
impl Ord for NormalVersion
Source§impl PartialEq for NormalVersion
impl PartialEq for NormalVersion
Source§impl PartialOrd for NormalVersion
impl PartialOrd for NormalVersion
impl Copy for NormalVersion
impl Eq for NormalVersion
Auto Trait Implementations§
impl Freeze for NormalVersion
impl RefUnwindSafe for NormalVersion
impl Send for NormalVersion
impl Sync for NormalVersion
impl Unpin for NormalVersion
impl UnwindSafe for NormalVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)