Struct icu::casemapping::provider::CaseMappingUnfoldData
source · pub struct CaseMappingUnfoldData<'data> {
pub map: ZeroMap<'data, str, str>,
}
Expand description
Reverse case folding data. Maps from multi-character strings back to code-points that fold to those strings.
Fields§
§map: ZeroMap<'data, str, str>
Trait Implementations§
source§impl<'data> Clone for CaseMappingUnfoldData<'data>
impl<'data> Clone for CaseMappingUnfoldData<'data>
source§fn clone(&self) -> CaseMappingUnfoldData<'data>
fn clone(&self) -> CaseMappingUnfoldData<'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 CaseMappingUnfoldData<'data>
impl<'data> Debug for CaseMappingUnfoldData<'data>
source§impl<'de, 'data> Deserialize<'de> for CaseMappingUnfoldData<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for CaseMappingUnfoldData<'data>where 'de: 'data,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CaseMappingUnfoldData<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CaseMappingUnfoldData<'data>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'data> PartialEq<CaseMappingUnfoldData<'data>> for CaseMappingUnfoldData<'data>
impl<'data> PartialEq<CaseMappingUnfoldData<'data>> for CaseMappingUnfoldData<'data>
source§fn eq(&self, other: &CaseMappingUnfoldData<'data>) -> bool
fn eq(&self, other: &CaseMappingUnfoldData<'data>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Yokeable<'a> for CaseMappingUnfoldData<'static>
impl<'a> Yokeable<'a> for CaseMappingUnfoldData<'static>
§type Output = CaseMappingUnfoldData<'a>
type Output = CaseMappingUnfoldData<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
source§fn transform(
&'a self
) -> &'a <CaseMappingUnfoldData<'static> as Yokeable<'a>>::Output
fn transform( &'a self ) -> &'a <CaseMappingUnfoldData<'static> as Yokeable<'a>>::Output
source§fn transform_owned(
self
) -> <CaseMappingUnfoldData<'static> as Yokeable<'a>>::Output
fn transform_owned( self ) -> <CaseMappingUnfoldData<'static> as Yokeable<'a>>::Output
source§unsafe fn make(
this: <CaseMappingUnfoldData<'static> as Yokeable<'a>>::Output
) -> CaseMappingUnfoldData<'static>
unsafe fn make( this: <CaseMappingUnfoldData<'static> as Yokeable<'a>>::Output ) -> CaseMappingUnfoldData<'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 <CaseMappingUnfoldData<'static> as Yokeable<'a>>::Output),
fn transform_mut<F>(&'a mut self, f: F)where F: 'static + for<'b> FnOnce(&'b mut <CaseMappingUnfoldData<'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, CaseMappingUnfoldData<'zf_inner>> for CaseMappingUnfoldData<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, CaseMappingUnfoldData<'zf_inner>> for CaseMappingUnfoldData<'zf>
source§fn zero_from(
this: &'zf CaseMappingUnfoldData<'zf_inner>
) -> CaseMappingUnfoldData<'zf>
fn zero_from( this: &'zf CaseMappingUnfoldData<'zf_inner> ) -> CaseMappingUnfoldData<'zf>
Clone the other
C
into a struct that may retain references into C
.