Struct icu::casemapping::provider::CaseMappingInternals
source · pub struct CaseMappingInternals<'data> {
pub trie: CodePointTrie<'data, CaseMappingData>,
pub exceptions: CaseMappingExceptions<'data>,
pub unfold: CaseMappingUnfoldData<'data>,
}
Expand description
CaseMappingInternals provides low-level access to the data necessary to convert characters and strings to upper, lower, or title case.
🚧 This code is experimental; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. It can be enabled with the "experimental" Cargo feature
of the icu meta-crate. Use with caution.
#2535
Fields§
§trie: CodePointTrie<'data, CaseMappingData>
TODO
exceptions: CaseMappingExceptions<'data>
TODO
unfold: CaseMappingUnfoldData<'data>
TODO
Trait Implementations§
source§impl<'data> Clone for CaseMappingInternals<'data>
impl<'data> Clone for CaseMappingInternals<'data>
source§fn clone(&self) -> CaseMappingInternals<'data>
fn clone(&self) -> CaseMappingInternals<'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 CaseMappingInternals<'data>
impl<'data> Debug for CaseMappingInternals<'data>
source§impl<'de, 'data> Deserialize<'de> for CaseMappingInternals<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for CaseMappingInternals<'data>where 'de: 'data,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CaseMappingInternals<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CaseMappingInternals<'data>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'data> PartialEq<CaseMappingInternals<'data>> for CaseMappingInternals<'data>
impl<'data> PartialEq<CaseMappingInternals<'data>> for CaseMappingInternals<'data>
source§fn eq(&self, other: &CaseMappingInternals<'data>) -> bool
fn eq(&self, other: &CaseMappingInternals<'data>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Yokeable<'a> for CaseMappingInternals<'static>
impl<'a> Yokeable<'a> for CaseMappingInternals<'static>
§type Output = CaseMappingInternals<'a>
type Output = CaseMappingInternals<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
source§fn transform(
&'a self
) -> &'a <CaseMappingInternals<'static> as Yokeable<'a>>::Output
fn transform( &'a self ) -> &'a <CaseMappingInternals<'static> as Yokeable<'a>>::Output
source§fn transform_owned(
self
) -> <CaseMappingInternals<'static> as Yokeable<'a>>::Output
fn transform_owned( self ) -> <CaseMappingInternals<'static> as Yokeable<'a>>::Output
source§unsafe fn make(
this: <CaseMappingInternals<'static> as Yokeable<'a>>::Output
) -> CaseMappingInternals<'static>
unsafe fn make( this: <CaseMappingInternals<'static> as Yokeable<'a>>::Output ) -> CaseMappingInternals<'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 <CaseMappingInternals<'static> as Yokeable<'a>>::Output),
fn transform_mut<F>(&'a mut self, f: F)where F: 'static + for<'b> FnOnce(&'b mut <CaseMappingInternals<'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, CaseMappingInternals<'zf_inner>> for CaseMappingInternals<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, CaseMappingInternals<'zf_inner>> for CaseMappingInternals<'zf>
source§fn zero_from(
this: &'zf CaseMappingInternals<'zf_inner>
) -> CaseMappingInternals<'zf>
fn zero_from( this: &'zf CaseMappingInternals<'zf_inner> ) -> CaseMappingInternals<'zf>
Clone the other
C
into a struct that may retain references into C
.