pub struct SemanticVer {
pub major: u16,
pub minor: u16,
pub patch: u16,
}Fields§
§major: u16§minor: u16§patch: u16Trait Implementations§
Source§impl Clone for SemanticVer
impl Clone for SemanticVer
Source§fn clone(&self) -> SemanticVer
fn clone(&self) -> SemanticVer
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 SemanticVer
impl Debug for SemanticVer
Source§impl Display for SemanticVer
impl Display for SemanticVer
Source§impl Hash for SemanticVer
impl Hash for SemanticVer
Source§impl PartialEq for SemanticVer
impl PartialEq for SemanticVer
impl Copy for SemanticVer
impl Eq for SemanticVer
impl StructuralPartialEq for SemanticVer
Auto Trait Implementations§
impl Freeze for SemanticVer
impl RefUnwindSafe for SemanticVer
impl Send for SemanticVer
impl Sync for SemanticVer
impl Unpin for SemanticVer
impl UnwindSafe for SemanticVer
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more