pub struct HangulSyllableType(/* private fields */);
Expand description
Enumerated property Hangul_Syllable_Type
The Unicode standard provides both precomposed Hangul syllables and conjoining Jamo to compose arbitrary Hangul syllables. This property provides that ontology of Hangul code points.
For more information, see the Unicode Korean FAQ.
Implementations§
Source§impl HangulSyllableType
impl HangulSyllableType
Sourcepub const fn to_icu4c_value(self) -> u8
pub const fn to_icu4c_value(self) -> u8
Returns an ICU4C UHangulSyllableType
value.
Sourcepub const fn from_icu4c_value(value: u8) -> HangulSyllableType
pub const fn from_icu4c_value(value: u8) -> HangulSyllableType
Constructor from an ICU4C UHangulSyllableType
value.
Source§impl HangulSyllableType
impl HangulSyllableType
Sourcepub const NotApplicable: HangulSyllableType
pub const NotApplicable: HangulSyllableType
(NA
) not applicable (e.g. not a Hangul code point).
Sourcepub const LeadingJamo: HangulSyllableType
pub const LeadingJamo: HangulSyllableType
(L
) a conjoining leading consonant Jamo.
Sourcepub const VowelJamo: HangulSyllableType
pub const VowelJamo: HangulSyllableType
(V
) a conjoining vowel Jamo.
Sourcepub const TrailingJamo: HangulSyllableType
pub const TrailingJamo: HangulSyllableType
(T
) a conjoining trailing consonant Jamo.
Sourcepub const LeadingVowelSyllable: HangulSyllableType
pub const LeadingVowelSyllable: HangulSyllableType
(LV
) a precomposed syllable with a leading consonant and a vowel.
Sourcepub const LeadingVowelTrailingSyllable: HangulSyllableType
pub const LeadingVowelTrailingSyllable: HangulSyllableType
(LVT
) a precomposed syllable with a leading consonant, a vowel, and a trailing consonant.
Sourcepub const ALL_VALUES: &'static [HangulSyllableType]
pub const ALL_VALUES: &'static [HangulSyllableType]
All possible values of this enum in the Unicode version from this ICU4X release.
Trait Implementations§
Source§impl AsULE for HangulSyllableType
impl AsULE for HangulSyllableType
Source§fn to_unaligned(self) -> <HangulSyllableType as AsULE>::ULE
fn to_unaligned(self) -> <HangulSyllableType as AsULE>::ULE
Source§fn from_unaligned(
unaligned: <HangulSyllableType as AsULE>::ULE,
) -> HangulSyllableType
fn from_unaligned( unaligned: <HangulSyllableType as AsULE>::ULE, ) -> HangulSyllableType
Source§impl Bake for HangulSyllableType
impl Bake for HangulSyllableType
Source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
Source§impl BakeSize for HangulSyllableType
impl BakeSize for HangulSyllableType
Source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Source§impl Clone for HangulSyllableType
impl Clone for HangulSyllableType
Source§fn clone(&self) -> HangulSyllableType
fn clone(&self) -> HangulSyllableType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for HangulSyllableType
impl Debug for HangulSyllableType
Source§impl<'de> Deserialize<'de> for HangulSyllableType
impl<'de> Deserialize<'de> for HangulSyllableType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HangulSyllableType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HangulSyllableType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Hash for HangulSyllableType
impl Hash for HangulSyllableType
Source§impl NamedEnumeratedProperty for HangulSyllableType
impl NamedEnumeratedProperty for HangulSyllableType
Source§fn try_from_str(s: &str) -> Option<Self>
fn try_from_str(s: &str) -> Option<Self>
PropertyParser::new().get_loose(s)
Read moreSource§fn long_name(&self) -> &'static str
fn long_name(&self) -> &'static str
PropertyNamesLong::new().get(*self).unwrap()
Read moreSource§fn short_name(&self) -> &'static str
fn short_name(&self) -> &'static str
PropertyNamesShort::new().get(*self).unwrap()
Read moreSource§impl Ord for HangulSyllableType
impl Ord for HangulSyllableType
Source§fn cmp(&self, other: &HangulSyllableType) -> Ordering
fn cmp(&self, other: &HangulSyllableType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for HangulSyllableType
impl PartialEq for HangulSyllableType
Source§impl PartialOrd for HangulSyllableType
impl PartialOrd for HangulSyllableType
Source§impl Serialize for HangulSyllableType
impl Serialize for HangulSyllableType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Source§impl TrieValue for HangulSyllableType
impl TrieValue for HangulSyllableType
Source§type TryFromU32Error = TryFromIntError
type TryFromU32Error = TryFromIntError
Source§fn try_from_u32(
i: u32,
) -> Result<HangulSyllableType, <HangulSyllableType as TrieValue>::TryFromU32Error>
fn try_from_u32( i: u32, ) -> Result<HangulSyllableType, <HangulSyllableType as TrieValue>::TryFromU32Error>
u32
first.impl Copy for HangulSyllableType
impl Eq for HangulSyllableType
impl ParseableEnumeratedProperty for HangulSyllableType
impl StructuralPartialEq for HangulSyllableType
Auto Trait Implementations§
impl Freeze for HangulSyllableType
impl RefUnwindSafe for HangulSyllableType
impl Send for HangulSyllableType
impl Sync for HangulSyllableType
impl Unpin for HangulSyllableType
impl UnwindSafe for HangulSyllableType
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
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>
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>
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