pub struct IndicSyllabicCategory(/* private fields */);
Expand description
Property Indic_Syllabic_Category. See UAX #44: https://www.unicode.org/reports/tr44/#Indic_Syllabic_Category.
Implementations§
Source§impl IndicSyllabicCategory
impl IndicSyllabicCategory
Sourcepub const fn to_icu4c_value(self) -> u8
pub const fn to_icu4c_value(self) -> u8
Returns an ICU4C UIndicSyllabicCategory
value.
Sourcepub const fn from_icu4c_value(value: u8) -> Self
pub const fn from_icu4c_value(value: u8) -> Self
Constructor from an ICU4C UIndicSyllabicCategory
value.
Source§impl IndicSyllabicCategory
impl IndicSyllabicCategory
pub const Other: IndicSyllabicCategory
pub const Avagraha: IndicSyllabicCategory
pub const Bindu: IndicSyllabicCategory
pub const BrahmiJoiningNumber: IndicSyllabicCategory
pub const CantillationMark: IndicSyllabicCategory
pub const Consonant: IndicSyllabicCategory
pub const ConsonantDead: IndicSyllabicCategory
pub const ConsonantFinal: IndicSyllabicCategory
pub const ConsonantHeadLetter: IndicSyllabicCategory
pub const ConsonantInitialPostfixed: IndicSyllabicCategory
pub const ConsonantKiller: IndicSyllabicCategory
pub const ConsonantMedial: IndicSyllabicCategory
pub const ConsonantPlaceholder: IndicSyllabicCategory
pub const ConsonantPrecedingRepha: IndicSyllabicCategory
pub const ConsonantPrefixed: IndicSyllabicCategory
pub const ConsonantSucceedingRepha: IndicSyllabicCategory
pub const ConsonantSubjoined: IndicSyllabicCategory
pub const ConsonantWithStacker: IndicSyllabicCategory
pub const GeminationMark: IndicSyllabicCategory
pub const InvisibleStacker: IndicSyllabicCategory
pub const Joiner: IndicSyllabicCategory
pub const ModifyingLetter: IndicSyllabicCategory
pub const NonJoiner: IndicSyllabicCategory
pub const Nukta: IndicSyllabicCategory
pub const Number: IndicSyllabicCategory
pub const NumberJoiner: IndicSyllabicCategory
pub const PureKiller: IndicSyllabicCategory
pub const RegisterShifter: IndicSyllabicCategory
pub const SyllableModifier: IndicSyllabicCategory
pub const ToneLetter: IndicSyllabicCategory
pub const ToneMark: IndicSyllabicCategory
pub const Virama: IndicSyllabicCategory
pub const Visarga: IndicSyllabicCategory
pub const Vowel: IndicSyllabicCategory
pub const VowelDependent: IndicSyllabicCategory
pub const VowelIndependent: IndicSyllabicCategory
pub const ReorderingKiller: IndicSyllabicCategory
Sourcepub const ALL_VALUES: &'static [IndicSyllabicCategory]
pub const ALL_VALUES: &'static [IndicSyllabicCategory]
All possible values of this enum in the Unicode version from this ICU4X release.
Trait Implementations§
Source§impl AsULE for IndicSyllabicCategory
impl AsULE for IndicSyllabicCategory
Source§impl Bake for IndicSyllabicCategory
impl Bake for IndicSyllabicCategory
Source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
Source§impl BakeSize for IndicSyllabicCategory
impl BakeSize for IndicSyllabicCategory
Source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
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 Debug for IndicSyllabicCategory
impl Debug for IndicSyllabicCategory
Source§impl<'de> Deserialize<'de> for IndicSyllabicCategory
impl<'de> Deserialize<'de> for IndicSyllabicCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<IndicSyllabicCategory> for u16
impl From<IndicSyllabicCategory> for u16
Source§fn from(other: IndicSyllabicCategory) -> Self
fn from(other: IndicSyllabicCategory) -> Self
Converts to this type from the input type.
Source§impl Hash for IndicSyllabicCategory
impl Hash for IndicSyllabicCategory
Source§impl NamedEnumeratedProperty for IndicSyllabicCategory
impl NamedEnumeratedProperty for IndicSyllabicCategory
Source§fn try_from_str(s: &str) -> Option<Self>
fn try_from_str(s: &str) -> Option<Self>
Convenience method for
PropertyParser::new().get_loose(s)
Read moreSource§fn long_name(&self) -> &'static str
fn long_name(&self) -> &'static str
Convenience method for
PropertyNamesLong::new().get(*self).unwrap()
Read moreSource§fn short_name(&self) -> &'static str
fn short_name(&self) -> &'static str
Convenience method for
PropertyNamesShort::new().get(*self).unwrap()
Read moreSource§impl Ord for IndicSyllabicCategory
impl Ord for IndicSyllabicCategory
Source§fn cmp(&self, other: &IndicSyllabicCategory) -> Ordering
fn cmp(&self, other: &IndicSyllabicCategory) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IndicSyllabicCategory
impl PartialEq for IndicSyllabicCategory
Source§impl PartialOrd for IndicSyllabicCategory
impl PartialOrd for IndicSyllabicCategory
Source§impl Serialize for IndicSyllabicCategory
impl Serialize for IndicSyllabicCategory
Source§impl TrieValue for IndicSyllabicCategory
impl TrieValue for IndicSyllabicCategory
Source§type TryFromU32Error = TryFromIntError
type TryFromU32Error = TryFromIntError
Last-resort fallback value to return if we cannot read data from the trie. Read more
Source§fn try_from_u32(i: u32) -> Result<Self, Self::TryFromU32Error>
fn try_from_u32(i: u32) -> Result<Self, Self::TryFromU32Error>
A parsing function that is primarily motivated by deserialization contexts.
When the serialization type width is smaller than 32 bits, then it is expected
that the call site will widen the value to a
u32
first.impl Copy for IndicSyllabicCategory
impl Eq for IndicSyllabicCategory
impl ParseableEnumeratedProperty for IndicSyllabicCategory
impl StructuralPartialEq 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