Enum icu_capi::properties_enums::ffi::SentenceBreak
source · #[repr(C)]pub enum SentenceBreak {
Show 15 variants
Other = 0,
ATerm = 1,
Close = 2,
Format = 3,
Lower = 4,
Numeric = 5,
OLetter = 6,
Sep = 7,
Sp = 8,
STerm = 9,
Upper = 10,
CR = 11,
Extend = 12,
LF = 13,
SContinue = 14,
}
Variants§
Other = 0
ATerm = 1
Close = 2
Format = 3
Lower = 4
Numeric = 5
OLetter = 6
Sep = 7
Sp = 8
STerm = 9
Upper = 10
CR = 11
Extend = 12
LF = 13
SContinue = 14
Implementations§
source§impl SentenceBreak
impl SentenceBreak
pub fn to_integer(self) -> u8
pub fn from_integer(other: u8) -> Option<Self>
Trait Implementations§
source§impl Clone for SentenceBreak
impl Clone for SentenceBreak
source§fn clone(&self) -> SentenceBreak
fn clone(&self) -> SentenceBreak
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<SentenceBreak> for SentenceBreak
impl From<SentenceBreak> for SentenceBreak
source§fn from(other: SentenceBreak) -> Self
fn from(other: SentenceBreak) -> Self
Converts to this type from the input type.
source§impl From<SentenceBreak> for SentenceBreak
impl From<SentenceBreak> for SentenceBreak
source§fn from(this: SentenceBreak) -> Self
fn from(this: SentenceBreak) -> Self
Converts to this type from the input type.
impl Copy for SentenceBreak
Auto Trait Implementations§
impl Freeze for SentenceBreak
impl RefUnwindSafe for SentenceBreak
impl Send for SentenceBreak
impl Sync for SentenceBreak
impl Unpin for SentenceBreak
impl UnwindSafe for SentenceBreak
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