pub enum WordBreakStyleValue {
Normal(Ident),
BreakAll(Ident),
KeepAll(Ident),
Manual(Ident),
AutoPhrase(Ident),
BreakWord(Ident),
}Expand description
Represents the style value for word-break as defined in css-text-4.
The word-break CSS property sets how lines break within words.
The grammar is defined as:
normal | break-all | keep-all | manual | auto-phrase | break-wordVariants§
Trait Implementations§
Source§impl Clone for WordBreakStyleValue
impl Clone for WordBreakStyleValue
Source§fn clone(&self) -> WordBreakStyleValue
fn clone(&self) -> WordBreakStyleValue
Returns a duplicate 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 Debug for WordBreakStyleValue
impl Debug for WordBreakStyleValue
Source§impl Hash for WordBreakStyleValue
impl Hash for WordBreakStyleValue
Source§impl Ord for WordBreakStyleValue
impl Ord for WordBreakStyleValue
Source§fn cmp(&self, other: &WordBreakStyleValue) -> Ordering
fn cmp(&self, other: &WordBreakStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for WordBreakStyleValue
impl<'a> Parse<'a> for WordBreakStyleValue
Source§impl PartialEq for WordBreakStyleValue
impl PartialEq for WordBreakStyleValue
Source§impl PartialOrd for WordBreakStyleValue
impl PartialOrd for WordBreakStyleValue
Source§impl<'a> Peek<'a> for WordBreakStyleValue
impl<'a> Peek<'a> for WordBreakStyleValue
Source§impl ToCursors for WordBreakStyleValue
impl ToCursors for WordBreakStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for WordBreakStyleValue
impl StructuralPartialEq for WordBreakStyleValue
Auto Trait Implementations§
impl Freeze for WordBreakStyleValue
impl RefUnwindSafe for WordBreakStyleValue
impl Send for WordBreakStyleValue
impl Sync for WordBreakStyleValue
impl Unpin for WordBreakStyleValue
impl UnwindSafe for WordBreakStyleValue
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