Struct IndicSyllabicCategory

struct IndicSyllabicCategory(_)

Property Indic_Syllabic_Category. See UAX #44: https://www.unicode.org/reports/tr44/#Indic_Syllabic_Category.

Example

use icu::properties::{props::IndicSyllabicCategory, CodePointMapData};

assert_eq!(
    CodePointMapData::<IndicSyllabicCategory>::new().get('a'),
    IndicSyllabicCategory::Other
);
assert_eq!(
    CodePointMapData::<IndicSyllabicCategory>::new().get('\u{0900}'),
    IndicSyllabicCategory::Bindu
); // U+0900: DEVANAGARI SIGN INVERTED CANDRABINDU

Implementations

impl IndicSyllabicCategory

impl IndicSyllabicCategory

const fn to_icu4c_value(self: Self) -> u8

Returns an ICU4C UIndicSyllabicCategory value.

const fn from_icu4c_value(value: u8) -> Self

Constructor from an ICU4C UIndicSyllabicCategory value.

impl AsULE for IndicSyllabicCategory

fn to_unaligned(self: Self) -> <Self as >::ULE
fn from_unaligned(unaligned: <Self as >::ULE) -> Self

impl Clone for IndicSyllabicCategory

fn clone(self: &Self) -> IndicSyllabicCategory

impl Copy for IndicSyllabicCategory

impl Debug for IndicSyllabicCategory

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl EnumeratedProperty for IndicSyllabicCategory

impl Eq for IndicSyllabicCategory

impl Freeze for IndicSyllabicCategory

impl Hash for IndicSyllabicCategory

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl NamedEnumeratedProperty for IndicSyllabicCategory

impl Ord for IndicSyllabicCategory

fn cmp(self: &Self, other: &IndicSyllabicCategory) -> Ordering

impl ParseableEnumeratedProperty for IndicSyllabicCategory

impl PartialEq for IndicSyllabicCategory

fn eq(self: &Self, other: &IndicSyllabicCategory) -> bool

impl PartialOrd for IndicSyllabicCategory

fn partial_cmp(self: &Self, other: &IndicSyllabicCategory) -> Option<Ordering>

impl RefUnwindSafe for IndicSyllabicCategory

impl Send for IndicSyllabicCategory

impl StructuralPartialEq for IndicSyllabicCategory

impl Sync for IndicSyllabicCategory

impl TrieValue for IndicSyllabicCategory

fn try_from_u32(i: u32) -> Result<Self, <Self as >::TryFromU32Error>
fn to_u32(self: Self) -> u32

impl Unpin for IndicSyllabicCategory

impl UnsafeUnpin for IndicSyllabicCategory

impl UnwindSafe for IndicSyllabicCategory

impl<T> Any for IndicSyllabicCategory

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IndicSyllabicCategory

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for IndicSyllabicCategory

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for IndicSyllabicCategory

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> ErasedDestructor for IndicSyllabicCategory

impl<T> From for IndicSyllabicCategory

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for IndicSyllabicCategory

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for IndicSyllabicCategory

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for IndicSyllabicCategory

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for IndicSyllabicCategory

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>