Struct comfy_core::SemanticVer
source · 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 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 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
source§fn eq(&self, other: &SemanticVer) -> bool
fn eq(&self, other: &SemanticVer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SemanticVer
impl Eq for SemanticVer
impl StructuralEq for SemanticVer
impl StructuralPartialEq for SemanticVer
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more