pub struct CaseMapUnfold<'data> {
pub map: ZeroMap<'data, PotentialUtf8, str>,
}
Expand description
Reverse case folding data. Maps from multi-character strings back to code-points that fold to those strings.
๐ง 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, PotentialUtf8, str>
The actual map. Maps from strings to a list of codepoints, stored as a contiguous UTF-8 string
Trait Implementationsยง
Sourceยงimpl<'data> Clone for CaseMapUnfold<'data>
impl<'data> Clone for CaseMapUnfold<'data>
Sourceยงfn clone(&self) -> CaseMapUnfold<'data>
fn clone(&self) -> CaseMapUnfold<'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 CaseMapUnfold<'data>
impl<'data> Debug for CaseMapUnfold<'data>
Sourceยงimpl<'de, 'data> Deserialize<'de> for CaseMapUnfold<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for CaseMapUnfold<'data>where
'de: 'data,
Sourceยงfn deserialize<__D>(
__deserializer: __D,
) -> Result<CaseMapUnfold<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CaseMapUnfold<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl MaybeAsVarULE for CaseMapUnfold<'_>
impl MaybeAsVarULE for CaseMapUnfold<'_>
Sourceยงimpl<'data> PartialEq for CaseMapUnfold<'data>
impl<'data> PartialEq for CaseMapUnfold<'data>
Sourceยงimpl<'a> Yokeable<'a> for CaseMapUnfold<'static>
impl<'a> Yokeable<'a> for CaseMapUnfold<'static>
Sourceยงtype Output = CaseMapUnfold<'a>
type Output = CaseMapUnfold<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
Sourceยงfn transform_owned(self) -> <CaseMapUnfold<'static> as Yokeable<'a>>::Output
fn transform_owned(self) -> <CaseMapUnfold<'static> as Yokeable<'a>>::Output
Sourceยงunsafe fn make(
this: <CaseMapUnfold<'static> as Yokeable<'a>>::Output,
) -> CaseMapUnfold<'static>
unsafe fn make( this: <CaseMapUnfold<'static> as Yokeable<'a>>::Output, ) -> CaseMapUnfold<'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, CaseMapUnfold<'zf_inner>> for CaseMapUnfold<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, CaseMapUnfold<'zf_inner>> for CaseMapUnfold<'zf>
Sourceยงfn zero_from(this: &'zf CaseMapUnfold<'zf_inner>) -> CaseMapUnfold<'zf>
fn zero_from(this: &'zf CaseMapUnfold<'zf_inner>) -> CaseMapUnfold<'zf>
Clone the other
C
into a struct that may retain references into C
.impl<'data> StructuralPartialEq for CaseMapUnfold<'data>
Auto Trait Implementationsยง
impl<'data> Freeze for CaseMapUnfold<'data>
impl<'data> RefUnwindSafe for CaseMapUnfold<'data>
impl<'data> Send for CaseMapUnfold<'data>
impl<'data> Sync for CaseMapUnfold<'data>
impl<'data> Unpin for CaseMapUnfold<'data>
impl<'data> UnwindSafe for CaseMapUnfold<'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