Struct icu_properties::provider::names::PropertyValueNameToEnumMapV1
source ยท pub struct PropertyValueNameToEnumMapV1<'data> {
pub map: ZeroMap<'data, NormalizedPropertyNameStr, u16>,
}
Expand description
A set of characters and strings which share a particular property value.
๐ง This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Fieldsยง
ยงmap: ZeroMap<'data, NormalizedPropertyNameStr, u16>
A map from names to their value discriminant
Trait Implementationsยง
sourceยงimpl<'data> Clone for PropertyValueNameToEnumMapV1<'data>
impl<'data> Clone for PropertyValueNameToEnumMapV1<'data>
sourceยงfn clone(&self) -> PropertyValueNameToEnumMapV1<'data>
fn clone(&self) -> PropertyValueNameToEnumMapV1<'data>
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<'data> Debug for PropertyValueNameToEnumMapV1<'data>
impl<'data> Debug for PropertyValueNameToEnumMapV1<'data>
sourceยงimpl<'data> PartialEq for PropertyValueNameToEnumMapV1<'data>
impl<'data> PartialEq for PropertyValueNameToEnumMapV1<'data>
sourceยงfn eq(&self, other: &PropertyValueNameToEnumMapV1<'data>) -> bool
fn eq(&self, other: &PropertyValueNameToEnumMapV1<'data>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.sourceยงimpl<'a> Yokeable<'a> for PropertyValueNameToEnumMapV1<'static>
impl<'a> Yokeable<'a> for PropertyValueNameToEnumMapV1<'static>
sourceยงtype Output = PropertyValueNameToEnumMapV1<'a>
type Output = PropertyValueNameToEnumMapV1<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
sourceยงfn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
sourceยงimpl<'zf, 'zf_inner> ZeroFrom<'zf, PropertyValueNameToEnumMapV1<'zf_inner>> for PropertyValueNameToEnumMapV1<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, PropertyValueNameToEnumMapV1<'zf_inner>> for PropertyValueNameToEnumMapV1<'zf>
sourceยงfn zero_from(this: &'zf PropertyValueNameToEnumMapV1<'zf_inner>) -> Self
fn zero_from(this: &'zf PropertyValueNameToEnumMapV1<'zf_inner>) -> Self
Clone the other
C
into a struct that may retain references into C
.impl<'data> StructuralPartialEq for PropertyValueNameToEnumMapV1<'data>
Auto Trait Implementationsยง
impl<'data> Freeze for PropertyValueNameToEnumMapV1<'data>
impl<'data> RefUnwindSafe for PropertyValueNameToEnumMapV1<'data>
impl<'data> Send for PropertyValueNameToEnumMapV1<'data>
impl<'data> Sync for PropertyValueNameToEnumMapV1<'data>
impl<'data> Unpin for PropertyValueNameToEnumMapV1<'data>
impl<'data> UnwindSafe for PropertyValueNameToEnumMapV1<'data>
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
)