#[repr(C)]pub enum IndicSyllabicCategory {
Show 37 variants
Other = 0,
Avagraha = 1,
Bindu = 2,
BrahmiJoiningNumber = 3,
CantillationMark = 4,
Consonant = 5,
ConsonantDead = 6,
ConsonantFinal = 7,
ConsonantHeadLetter = 8,
ConsonantInitialPostfixed = 9,
ConsonantKiller = 10,
ConsonantMedial = 11,
ConsonantPlaceholder = 12,
ConsonantPrecedingRepha = 13,
ConsonantPrefixed = 14,
ConsonantSucceedingRepha = 15,
ConsonantSubjoined = 16,
ConsonantWithStacker = 17,
GeminationMark = 18,
InvisibleStacker = 19,
Joiner = 20,
ModifyingLetter = 21,
NonJoiner = 22,
Nukta = 23,
Number = 24,
NumberJoiner = 25,
PureKiller = 26,
RegisterShifter = 27,
SyllableModifier = 28,
ToneLetter = 29,
ToneMark = 30,
Virama = 31,
Visarga = 32,
Vowel = 33,
VowelDependent = 34,
VowelIndependent = 35,
ReorderingKiller = 36,
}
Variants§
Other = 0
Avagraha = 1
Bindu = 2
BrahmiJoiningNumber = 3
CantillationMark = 4
Consonant = 5
ConsonantDead = 6
ConsonantFinal = 7
ConsonantHeadLetter = 8
ConsonantInitialPostfixed = 9
ConsonantKiller = 10
ConsonantMedial = 11
ConsonantPlaceholder = 12
ConsonantPrecedingRepha = 13
ConsonantPrefixed = 14
ConsonantSucceedingRepha = 15
ConsonantSubjoined = 16
ConsonantWithStacker = 17
GeminationMark = 18
InvisibleStacker = 19
Joiner = 20
ModifyingLetter = 21
NonJoiner = 22
Nukta = 23
Number = 24
NumberJoiner = 25
PureKiller = 26
RegisterShifter = 27
SyllableModifier = 28
ToneLetter = 29
ToneMark = 30
Virama = 31
Visarga = 32
Vowel = 33
VowelDependent = 34
VowelIndependent = 35
ReorderingKiller = 36
Implementations§
Source§impl IndicSyllabicCategory
impl IndicSyllabicCategory
pub fn for_char(ch: DiplomatChar) -> Self
Sourcepub fn to_integer_value(self) -> u8
pub fn to_integer_value(self) -> u8
Convert to an integer value usable with ICU4C and CodePointMapData
Sourcepub fn from_integer_value(other: u8) -> Option<Self>
pub fn from_integer_value(other: u8) -> Option<Self>
Convert from an integer value from ICU4C or CodePointMapData
Trait Implementations§
Source§impl Clone for IndicSyllabicCategory
impl Clone for IndicSyllabicCategory
Source§fn clone(&self) -> IndicSyllabicCategory
fn clone(&self) -> IndicSyllabicCategory
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 From<IndicSyllabicCategory> for IndicSyllabicCategory
impl From<IndicSyllabicCategory> for IndicSyllabicCategory
Source§fn from(other: IndicSyllabicCategory) -> Self
fn from(other: IndicSyllabicCategory) -> Self
Converts to this type from the input type.
Source§impl From<IndicSyllabicCategory> for IndicSyllabicCategory
impl From<IndicSyllabicCategory> for IndicSyllabicCategory
Source§fn from(this: IndicSyllabicCategory) -> Self
fn from(this: IndicSyllabicCategory) -> Self
Converts to this type from the input type.
impl Copy for IndicSyllabicCategory
Auto Trait Implementations§
impl Freeze for IndicSyllabicCategory
impl RefUnwindSafe for IndicSyllabicCategory
impl Send for IndicSyllabicCategory
impl Sync for IndicSyllabicCategory
impl Unpin for IndicSyllabicCategory
impl UnwindSafe for IndicSyllabicCategory
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