Struct icu::properties::props::HangulSyllableType
source · #[repr(transparent)]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 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.
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
Returns the size
source§impl Clone for HangulSyllableType
impl Clone for HangulSyllableType
source§fn clone(&self) -> HangulSyllableType
fn clone(&self) -> HangulSyllableType
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 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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for HangulSyllableType
impl Hash for HangulSyllableType
source§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,
Compares and returns the maximum of two values. Read more
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,
Serialize this value into the given Serde serializer. Read more
source§impl TrieValue for HangulSyllableType
impl TrieValue for HangulSyllableType
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<HangulSyllableType, <HangulSyllableType as TrieValue>::TryFromU32Error>
fn try_from_u32( i: u32, ) -> Result<HangulSyllableType, <HangulSyllableType as TrieValue>::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 HangulSyllableType
impl Eq for HangulSyllableType
impl NamedEnumeratedProperty 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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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