#[non_exhaustive]pub enum PropertyUnicodeSet<'data> {
CPInversionListStrList(CodePointInversionListAndStringList<'data>),
}
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.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CPInversionListStrList(CodePointInversionListAndStringList<'data>)
A set representing characters in an inversion list, and the strings in a list.
Trait Implementations§
Source§impl<'data> Bake for PropertyUnicodeSet<'data>
impl<'data> Bake for PropertyUnicodeSet<'data>
Source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
Source§impl<'data> BakeSize for PropertyUnicodeSet<'data>
impl<'data> BakeSize for PropertyUnicodeSet<'data>
Source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
Source§impl<'data> Clone for PropertyUnicodeSet<'data>
impl<'data> Clone for PropertyUnicodeSet<'data>
Source§fn clone(&self) -> PropertyUnicodeSet<'data>
fn clone(&self) -> PropertyUnicodeSet<'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 PropertyUnicodeSet<'data>
impl<'data> Debug for PropertyUnicodeSet<'data>
Source§impl<'de, 'data> Deserialize<'de> for PropertyUnicodeSet<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for PropertyUnicodeSet<'data>where
'de: 'data,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PropertyUnicodeSet<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PropertyUnicodeSet<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MaybeAsVarULE for PropertyUnicodeSet<'_>
impl MaybeAsVarULE for PropertyUnicodeSet<'_>
Source§impl MaybeEncodeAsVarULE for PropertyUnicodeSet<'_>
impl MaybeEncodeAsVarULE for PropertyUnicodeSet<'_>
Source§fn maybe_encode_as_varule(
&self,
) -> Option<&<PropertyUnicodeSet<'_> as MaybeAsVarULE>::EncodedStruct>
fn maybe_encode_as_varule( &self, ) -> Option<&<PropertyUnicodeSet<'_> as MaybeAsVarULE>::EncodedStruct>
Returns the
MaybeAsVarULE::EncodedStruct
that represents this data struct,
or None
if the data struct does not support this representation.Source§impl<'data> PartialEq for PropertyUnicodeSet<'data>
impl<'data> PartialEq for PropertyUnicodeSet<'data>
Source§impl<'data> Serialize for PropertyUnicodeSet<'data>
impl<'data> Serialize for PropertyUnicodeSet<'data>
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl<'a> Yokeable<'a> for PropertyUnicodeSet<'static>
impl<'a> Yokeable<'a> for PropertyUnicodeSet<'static>
Source§type Output = PropertyUnicodeSet<'a>
type Output = PropertyUnicodeSet<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
Source§fn transform_owned(
self,
) -> <PropertyUnicodeSet<'static> as Yokeable<'a>>::Output
fn transform_owned( self, ) -> <PropertyUnicodeSet<'static> as Yokeable<'a>>::Output
Source§unsafe fn make(
this: <PropertyUnicodeSet<'static> as Yokeable<'a>>::Output,
) -> PropertyUnicodeSet<'static>
unsafe fn make( this: <PropertyUnicodeSet<'static> as Yokeable<'a>>::Output, ) -> PropertyUnicodeSet<'static>
This method can be used to cast away
Self<'a>
’s lifetime. Read moreSource§fn transform_mut<F>(&'a mut self, f: F)
fn transform_mut<F>(&'a mut self, f: F)
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, PropertyUnicodeSet<'zf_inner>> for PropertyUnicodeSet<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, PropertyUnicodeSet<'zf_inner>> for PropertyUnicodeSet<'zf>
Source§fn zero_from(
this: &'zf PropertyUnicodeSet<'zf_inner>,
) -> PropertyUnicodeSet<'zf>
fn zero_from( this: &'zf PropertyUnicodeSet<'zf_inner>, ) -> PropertyUnicodeSet<'zf>
Clone the other
C
into a struct that may retain references into C
.impl<'data> Eq for PropertyUnicodeSet<'data>
impl<'data> StructuralPartialEq for PropertyUnicodeSet<'data>
Auto Trait Implementations§
impl<'data> Freeze for PropertyUnicodeSet<'data>
impl<'data> RefUnwindSafe for PropertyUnicodeSet<'data>
impl<'data> Send for PropertyUnicodeSet<'data>
impl<'data> Sync for PropertyUnicodeSet<'data>
impl<'data> Unpin for PropertyUnicodeSet<'data>
impl<'data> UnwindSafe for PropertyUnicodeSet<'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