Struct icu_provider::marker::DataMarkerPathHash
source · pub struct DataMarkerPathHash(/* private fields */);
Expand description
A compact hash of a DataMarkerInfo
. Useful for keys in maps.
The hash will be stable over time within major releases.
Implementations§
Trait Implementations§
source§impl AsULE for DataMarkerPathHash
impl AsULE for DataMarkerPathHash
source§type ULE = DataMarkerPathHash
type ULE = DataMarkerPathHash
The ULE type corresponding to
Self
. Read moresource§fn to_unaligned(self) -> Self::ULE
fn to_unaligned(self) -> Self::ULE
source§fn from_unaligned(unaligned: Self::ULE) -> Self
fn from_unaligned(unaligned: Self::ULE) -> Self
source§impl Clone for DataMarkerPathHash
impl Clone for DataMarkerPathHash
source§fn clone(&self) -> DataMarkerPathHash
fn clone(&self) -> DataMarkerPathHash
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 DataMarkerPathHash
impl Debug for DataMarkerPathHash
source§impl<'de> Deserialize<'de> for DataMarkerPathHash
impl<'de> Deserialize<'de> for DataMarkerPathHash
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 Hash for DataMarkerPathHash
impl Hash for DataMarkerPathHash
source§impl Ord for DataMarkerPathHash
impl Ord for DataMarkerPathHash
source§fn cmp(&self, other: &DataMarkerPathHash) -> Ordering
fn cmp(&self, other: &DataMarkerPathHash) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DataMarkerPathHash
impl PartialEq for DataMarkerPathHash
source§impl PartialOrd for DataMarkerPathHash
impl PartialOrd for DataMarkerPathHash
source§impl Serialize for DataMarkerPathHash
impl Serialize for DataMarkerPathHash
source§impl ULE for DataMarkerPathHash
impl ULE for DataMarkerPathHash
source§fn validate_byte_slice(bytes: &[u8]) -> Result<(), UleError>
fn validate_byte_slice(bytes: &[u8]) -> Result<(), UleError>
Validates a byte slice,
&[u8]
. Read more§fn parse_byte_slice(bytes: &[u8]) -> Result<&[Self], UleError>
fn parse_byte_slice(bytes: &[u8]) -> Result<&[Self], UleError>
§unsafe fn from_byte_slice_unchecked(bytes: &[u8]) -> &[Self]
unsafe fn from_byte_slice_unchecked(bytes: &[u8]) -> &[Self]
Takes a byte slice,
&[u8]
, and return it as &[Self]
with the same lifetime, assuming
that this byte slice has previously been run through [Self::parse_byte_slice()
] with
success. Read more§fn as_byte_slice(slice: &[Self]) -> &[u8] ⓘ
fn as_byte_slice(slice: &[Self]) -> &[u8] ⓘ
source§impl<'a> ZeroMapKV<'a> for DataMarkerPathHash
impl<'a> ZeroMapKV<'a> for DataMarkerPathHash
source§type Container = ZeroVec<'a, DataMarkerPathHash>
type Container = ZeroVec<'a, DataMarkerPathHash>
The container that can be used with this type: [
ZeroVec
] or [VarZeroVec
].type Slice = ZeroSlice<DataMarkerPathHash>
source§type GetType = <DataMarkerPathHash as AsULE>::ULE
type GetType = <DataMarkerPathHash as AsULE>::ULE
The type produced by
Container::get()
Read moresource§type OwnedType = DataMarkerPathHash
type OwnedType = DataMarkerPathHash
The type produced by
Container::replace()
and Container::remove()
,
also used during deserialization. If Self
is human readable serialized,
deserializing to Self::OwnedType
should produce the same value once
passed through Self::owned_as_self()
Read moreimpl Copy for DataMarkerPathHash
impl Eq for DataMarkerPathHash
impl EqULE for DataMarkerPathHash
impl StructuralPartialEq for DataMarkerPathHash
Auto Trait Implementations§
impl Freeze for DataMarkerPathHash
impl RefUnwindSafe for DataMarkerPathHash
impl Send for DataMarkerPathHash
impl Sync for DataMarkerPathHash
impl Unpin for DataMarkerPathHash
impl UnwindSafe for DataMarkerPathHash
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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