Struct icu_capi::normalizer_properties::ffi::CanonicalDecomposition
source · pub struct CanonicalDecomposition(pub CanonicalDecomposition);
Expand description
The raw (non-recursive) canonical decomposition operation.
Callers should generally use DecomposingNormalizer unless they specifically need raw composition operations
Tuple Fields§
§0: CanonicalDecomposition
Implementations§
source§impl CanonicalDecomposition
impl CanonicalDecomposition
sourcepub fn create(
provider: &DataProvider,
) -> Result<Box<CanonicalDecomposition>, DataError>
pub fn create( provider: &DataProvider, ) -> Result<Box<CanonicalDecomposition>, DataError>
Construct a new CanonicalDecomposition instance for NFC
sourcepub fn decompose(&self, c: DiplomatChar) -> Decomposed
pub fn decompose(&self, c: DiplomatChar) -> Decomposed
Performs non-recursive canonical decomposition (including for Hangul).
Auto Trait Implementations§
impl Freeze for CanonicalDecomposition
impl RefUnwindSafe for CanonicalDecomposition
impl Send for CanonicalDecomposition
impl Sync for CanonicalDecomposition
impl Unpin for CanonicalDecomposition
impl UnwindSafe for CanonicalDecomposition
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> 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