pub struct PropertyValueNameToEnumMap<'data> {
pub map: ZeroTrieSimpleAscii<ZeroVec<'data, u8>>,
}
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: ZeroTrieSimpleAscii<ZeroVec<'data, u8>>
A map from names to their value discriminant
Trait Implementationsยง
Sourceยงimpl<'data> Clone for PropertyValueNameToEnumMap<'data>
impl<'data> Clone for PropertyValueNameToEnumMap<'data>
Sourceยงfn clone(&self) -> PropertyValueNameToEnumMap<'data>
fn clone(&self) -> PropertyValueNameToEnumMap<'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 PropertyValueNameToEnumMap<'data>
impl<'data> Debug for PropertyValueNameToEnumMap<'data>
Sourceยงimpl<'de, 'data> Deserialize<'de> for PropertyValueNameToEnumMap<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for PropertyValueNameToEnumMap<'data>where
'de: 'data,
Sourceยงfn deserialize<__D>(
__deserializer: __D,
) -> Result<PropertyValueNameToEnumMap<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PropertyValueNameToEnumMap<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl MaybeAsVarULE for PropertyValueNameToEnumMap<'_>
impl MaybeAsVarULE for PropertyValueNameToEnumMap<'_>
Sourceยงimpl<'data> PartialEq for PropertyValueNameToEnumMap<'data>
impl<'data> PartialEq for PropertyValueNameToEnumMap<'data>
Sourceยงfn eq(&self, other: &PropertyValueNameToEnumMap<'data>) -> bool
fn eq(&self, other: &PropertyValueNameToEnumMap<'data>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl<'a> Yokeable<'a> for PropertyValueNameToEnumMap<'static>
impl<'a> Yokeable<'a> for PropertyValueNameToEnumMap<'static>
Sourceยงtype Output = PropertyValueNameToEnumMap<'a>
type Output = PropertyValueNameToEnumMap<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
Sourceยงfn transform(
&'a self,
) -> &'a <PropertyValueNameToEnumMap<'static> as Yokeable<'a>>::Output
fn transform( &'a self, ) -> &'a <PropertyValueNameToEnumMap<'static> as Yokeable<'a>>::Output
Sourceยงfn transform_owned(
self,
) -> <PropertyValueNameToEnumMap<'static> as Yokeable<'a>>::Output
fn transform_owned( self, ) -> <PropertyValueNameToEnumMap<'static> as Yokeable<'a>>::Output
Sourceยงunsafe fn make(
this: <PropertyValueNameToEnumMap<'static> as Yokeable<'a>>::Output,
) -> PropertyValueNameToEnumMap<'static>
unsafe fn make( this: <PropertyValueNameToEnumMap<'static> as Yokeable<'a>>::Output, ) -> PropertyValueNameToEnumMap<'static>
This method can be used to cast away
Self<'a>
โs lifetime. Read moreSourceยงfn transform_mut<F>(&'a mut self, f: F)where
F: 'static + for<'b> FnOnce(&'b mut <PropertyValueNameToEnumMap<'static> as Yokeable<'a>>::Output),
fn transform_mut<F>(&'a mut self, f: F)where
F: 'static + for<'b> FnOnce(&'b mut <PropertyValueNameToEnumMap<'static> as Yokeable<'a>>::Output),
This method must cast
self
between &'a mut Self<'static>
and &'a mut Self<'a>
,
and pass it to f
. Read moreSourceยงimpl<'zf, 'zf_inner> ZeroFrom<'zf, PropertyValueNameToEnumMap<'zf_inner>> for PropertyValueNameToEnumMap<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, PropertyValueNameToEnumMap<'zf_inner>> for PropertyValueNameToEnumMap<'zf>
Sourceยงfn zero_from(
this: &'zf PropertyValueNameToEnumMap<'zf_inner>,
) -> PropertyValueNameToEnumMap<'zf>
fn zero_from( this: &'zf PropertyValueNameToEnumMap<'zf_inner>, ) -> PropertyValueNameToEnumMap<'zf>
Clone the other
C
into a struct that may retain references into C
.impl<'data> StructuralPartialEq for PropertyValueNameToEnumMap<'data>
Auto Trait Implementationsยง
impl<'data> Freeze for PropertyValueNameToEnumMap<'data>
impl<'data> RefUnwindSafe for PropertyValueNameToEnumMap<'data>
impl<'data> Send for PropertyValueNameToEnumMap<'data>
impl<'data> Sync for PropertyValueNameToEnumMap<'data>
impl<'data> Unpin for PropertyValueNameToEnumMap<'data>
impl<'data> UnwindSafe for PropertyValueNameToEnumMap<'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ยง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