#[repr(u8)]pub enum WordBreak {
Show 19 variants
CR = 0,
DQ = 1,
EX = 2,
Extend = 3,
FO = 4,
HL = 5,
KA = 6,
LE = 7,
LF = 8,
MB = 9,
ML = 10,
MN = 11,
NL = 12,
NU = 13,
RI = 14,
SQ = 15,
WSegSpace = 16,
XX = 17,
ZWJ = 18,
}
Expand description
Property for the word breaking algorithm.
Variants§
CR = 0
DQ = 1
EX = 2
Extend = 3
FO = 4
HL = 5
KA = 6
LE = 7
LF = 8
MB = 9
ML = 10
MN = 11
NL = 12
NU = 13
RI = 14
SQ = 15
WSegSpace = 16
XX = 17
ZWJ = 18
Trait Implementations§
source§impl Ord for WordBreak
impl Ord for WordBreak
source§impl PartialEq for WordBreak
impl PartialEq for WordBreak
source§impl PartialOrd for WordBreak
impl PartialOrd for WordBreak
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for WordBreak
impl Eq for WordBreak
impl StructuralPartialEq for WordBreak
Auto Trait Implementations§
impl Freeze for WordBreak
impl RefUnwindSafe for WordBreak
impl Send for WordBreak
impl Sync for WordBreak
impl Unpin for WordBreak
impl UnwindSafe for WordBreak
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)