pub struct SemanticVersionRef { /* private fields */ }Expand description
Immutable statement-version identity and device-derived truth.
Implementations§
Source§impl SemanticVersionRef
impl SemanticVersionRef
pub const fn handle(self) -> SemanticVersionHandle
pub const fn identity(self) -> SemanticVersionIdentity
pub const fn truth(self) -> SemanticTruth
Trait Implementations§
Source§impl Clone for SemanticVersionRef
impl Clone for SemanticVersionRef
Source§fn clone(&self) -> SemanticVersionRef
fn clone(&self) -> SemanticVersionRef
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 SemanticVersionRef
Source§impl Debug for SemanticVersionRef
impl Debug for SemanticVersionRef
impl Eq for SemanticVersionRef
Source§impl PartialEq for SemanticVersionRef
impl PartialEq for SemanticVersionRef
impl StructuralPartialEq for SemanticVersionRef
Auto Trait Implementations§
impl Freeze for SemanticVersionRef
impl RefUnwindSafe for SemanticVersionRef
impl Send for SemanticVersionRef
impl Sync for SemanticVersionRef
impl Unpin for SemanticVersionRef
impl UnsafeUnpin for SemanticVersionRef
impl UnwindSafe for SemanticVersionRef
Blanket Implementations§
impl<T> Allocation for T
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,
§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