pub enum WordBreak {
Normal,
BreakAll,
KeepAll,
}Expand description
The word-break keyword.
Variants§
Normal
normal — break at standard locations. Default.
BreakAll
break-all — break at any character.
KeepAll
keep-all — never break at CJK punctuation.
Trait Implementations§
impl 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 UnsafeUnpin 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