#[repr(u8)]pub enum LineBreak {
Show 43 variants
AI = 0,
AL = 1,
B2 = 2,
BA = 3,
BB = 4,
BK = 5,
CB = 6,
CJ = 7,
CL = 8,
CM = 9,
CP = 10,
CR = 11,
EB = 12,
EM = 13,
EX = 14,
GL = 15,
H2 = 16,
H3 = 17,
HL = 18,
HY = 19,
ID = 20,
IN = 21,
IS = 22,
JL = 23,
JT = 24,
JV = 25,
LF = 26,
NL = 27,
NS = 28,
NU = 29,
OP = 30,
PO = 31,
PR = 32,
QU = 33,
RI = 34,
SA = 35,
SG = 36,
SP = 37,
SY = 38,
WJ = 39,
XX = 40,
ZW = 41,
ZWJ = 42,
}
Expand description
Property for the line breaking algorithm.
Variants§
AI = 0
AL = 1
B2 = 2
BA = 3
BB = 4
BK = 5
CB = 6
CJ = 7
CL = 8
CM = 9
CP = 10
CR = 11
EB = 12
EM = 13
EX = 14
GL = 15
H2 = 16
H3 = 17
HL = 18
HY = 19
ID = 20
IN = 21
IS = 22
JL = 23
JT = 24
JV = 25
LF = 26
NL = 27
NS = 28
NU = 29
OP = 30
PO = 31
PR = 32
QU = 33
RI = 34
SA = 35
SG = 36
SP = 37
SY = 38
WJ = 39
XX = 40
ZW = 41
ZWJ = 42
Trait Implementations§
source§impl Ord for LineBreak
impl Ord for LineBreak
source§impl PartialEq for LineBreak
impl PartialEq for LineBreak
source§impl PartialOrd for LineBreak
impl PartialOrd for LineBreak
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 LineBreak
impl Eq for LineBreak
impl StructuralPartialEq for LineBreak
Auto Trait Implementations§
impl Freeze for LineBreak
impl RefUnwindSafe for LineBreak
impl Send for LineBreak
impl Sync for LineBreak
impl Unpin for LineBreak
impl UnwindSafe for LineBreak
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
)