Struct DataMarkerIdHash

struct DataMarkerIdHash(_)

A compact hash of a DataMarkerInfo. Useful for keys in maps.

The hash will be stable over time within major releases.

Implementations

impl DataMarkerIdHash

const fn to_bytes(self: Self) -> [u8; 4]

Gets the hash value as a byte array.

impl AsULE for DataMarkerIdHash

fn to_unaligned(self: Self) -> <Self as >::ULE
fn from_unaligned(unaligned: <Self as >::ULE) -> Self

impl Clone for DataMarkerIdHash

fn clone(self: &Self) -> DataMarkerIdHash

impl Copy for DataMarkerIdHash

impl Debug for DataMarkerIdHash

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Eq for DataMarkerIdHash

impl EqULE for DataMarkerIdHash

impl Freeze for DataMarkerIdHash

impl Hash for DataMarkerIdHash

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl Ord for DataMarkerIdHash

fn cmp(self: &Self, other: &DataMarkerIdHash) -> Ordering

impl PartialEq for DataMarkerIdHash

fn eq(self: &Self, other: &DataMarkerIdHash) -> bool

impl PartialOrd for DataMarkerIdHash

fn partial_cmp(self: &Self, other: &DataMarkerIdHash) -> Option<Ordering>

impl RefUnwindSafe for DataMarkerIdHash

impl Send for DataMarkerIdHash

impl StructuralPartialEq for DataMarkerIdHash

impl Sync for DataMarkerIdHash

impl ULE for DataMarkerIdHash

fn validate_bytes(bytes: &[u8]) -> Result<(), UleError>

impl Unpin for DataMarkerIdHash

impl UnsafeUnpin for DataMarkerIdHash

impl UnwindSafe for DataMarkerIdHash

impl<T> Any for DataMarkerIdHash

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for DataMarkerIdHash

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for DataMarkerIdHash

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for DataMarkerIdHash

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> ErasedDestructor for DataMarkerIdHash

impl<T> From for DataMarkerIdHash

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SliceAsULE for DataMarkerIdHash

fn slice_to_unaligned(slice: &[T]) -> Option<&[<T as AsULE>::ULE]>

impl<T> ToOwned for DataMarkerIdHash

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for DataMarkerIdHash

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for DataMarkerIdHash

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for DataMarkerIdHash

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>