Enum icu_capi::properties_enums::ffi::BidiClass
source · #[repr(C)]pub enum BidiClass {
Show 23 variants
LeftToRight = 0,
RightToLeft = 1,
EuropeanNumber = 2,
EuropeanSeparator = 3,
EuropeanTerminator = 4,
ArabicNumber = 5,
CommonSeparator = 6,
ParagraphSeparator = 7,
SegmentSeparator = 8,
WhiteSpace = 9,
OtherNeutral = 10,
LeftToRightEmbedding = 11,
LeftToRightOverride = 12,
ArabicLetter = 13,
RightToLeftEmbedding = 14,
RightToLeftOverride = 15,
PopDirectionalFormat = 16,
NonspacingMark = 17,
BoundaryNeutral = 18,
FirstStrongIsolate = 19,
LeftToRightIsolate = 20,
RightToLeftIsolate = 21,
PopDirectionalIsolate = 22,
}
Variants§
LeftToRight = 0
RightToLeft = 1
EuropeanNumber = 2
EuropeanSeparator = 3
EuropeanTerminator = 4
ArabicNumber = 5
CommonSeparator = 6
ParagraphSeparator = 7
SegmentSeparator = 8
WhiteSpace = 9
OtherNeutral = 10
LeftToRightEmbedding = 11
LeftToRightOverride = 12
ArabicLetter = 13
RightToLeftEmbedding = 14
RightToLeftOverride = 15
PopDirectionalFormat = 16
NonspacingMark = 17
BoundaryNeutral = 18
FirstStrongIsolate = 19
LeftToRightIsolate = 20
RightToLeftIsolate = 21
PopDirectionalIsolate = 22
Implementations§
source§impl BidiClass
impl BidiClass
pub fn to_integer(self) -> u8
pub fn from_integer(other: u8) -> Option<Self>
Trait Implementations§
impl Copy for BidiClass
Auto Trait Implementations§
impl Freeze for BidiClass
impl RefUnwindSafe for BidiClass
impl Send for BidiClass
impl Sync for BidiClass
impl Unpin for BidiClass
impl UnwindSafe for BidiClass
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