Struct hc_utils::wrappers::WrappedDnaHash
source · pub struct WrappedDnaHash(pub DnaHash);Tuple Fields§
§0: DnaHashTrait Implementations§
source§impl Clone for WrappedDnaHash
impl Clone for WrappedDnaHash
source§fn clone(&self) -> WrappedDnaHash
fn clone(&self) -> WrappedDnaHash
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 WrappedDnaHash
impl Debug for WrappedDnaHash
source§impl<'de> Deserialize<'de> for WrappedDnaHash
impl<'de> Deserialize<'de> for WrappedDnaHash
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<WrappedDnaHash> for HashString
impl From<WrappedDnaHash> for HashString
source§fn from(wrapped_entry_hash: WrappedDnaHash) -> Self
fn from(wrapped_entry_hash: WrappedDnaHash) -> Self
Converts to this type from the input type.
source§impl Hash for WrappedDnaHash
impl Hash for WrappedDnaHash
source§impl PartialEq for WrappedDnaHash
impl PartialEq for WrappedDnaHash
source§fn eq(&self, other: &WrappedDnaHash) -> bool
fn eq(&self, other: &WrappedDnaHash) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WrappedDnaHash
impl Serialize for WrappedDnaHash
source§impl TryFrom<&WrappedDnaHash> for SerializedBytes
impl TryFrom<&WrappedDnaHash> for SerializedBytes
source§impl TryFrom<HashString> for WrappedDnaHash
impl TryFrom<HashString> for WrappedDnaHash
source§impl TryFrom<SerializedBytes> for WrappedDnaHash
impl TryFrom<SerializedBytes> for WrappedDnaHash
source§impl TryFrom<WrappedDnaHash> for SerializedBytes
impl TryFrom<WrappedDnaHash> for SerializedBytes
impl Eq for WrappedDnaHash
impl StructuralEq for WrappedDnaHash
impl StructuralPartialEq for WrappedDnaHash
Auto Trait Implementations§
impl RefUnwindSafe for WrappedDnaHash
impl Send for WrappedDnaHash
impl Sync for WrappedDnaHash
impl Unpin for WrappedDnaHash
impl UnwindSafe for WrappedDnaHash
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<T> CallHasher for T
impl<T> CallHasher for T
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§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
Compare self to
key and return true if they are equal.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.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.§impl<T> Upcastable for T
impl<T> Upcastable for T
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref
§fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
upcast boxed dyn