Enum icu_capi::properties_enums::ffi::HangulSyllableType
source · #[repr(C)]pub enum HangulSyllableType {
NotApplicable = 0,
LeadingJamo = 1,
VowelJamo = 2,
TrailingJamo = 3,
LeadingVowelSyllable = 4,
LeadingVowelTrailingSyllable = 5,
}
Variants§
NotApplicable = 0
LeadingJamo = 1
VowelJamo = 2
TrailingJamo = 3
LeadingVowelSyllable = 4
LeadingVowelTrailingSyllable = 5
Implementations§
source§impl HangulSyllableType
impl HangulSyllableType
pub fn to_integer(self) -> u8
pub fn from_integer(other: u8) -> Option<Self>
Trait Implementations§
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 From<HangulSyllableType> for HangulSyllableType
impl From<HangulSyllableType> for HangulSyllableType
source§fn from(other: HangulSyllableType) -> Self
fn from(other: HangulSyllableType) -> Self
Converts to this type from the input type.
source§impl From<HangulSyllableType> for HangulSyllableType
impl From<HangulSyllableType> for HangulSyllableType
source§fn from(this: HangulSyllableType) -> Self
fn from(this: HangulSyllableType) -> Self
Converts to this type from the input type.
impl Copy 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