pub enum LineBreakStyleValue {
Auto(Ident),
Loose(Ident),
Normal(Ident),
Strict(Ident),
Anywhere(Ident),
}Expand description
Represents the style value for line-break as defined in css-text-4.
The line-break CSS property sets how strictly to apply rules for wrapping text to new lines, especially for symbols and punctuation.
The grammar is defined as:
auto | loose | normal | strict | anywhereVariants§
Trait Implementations§
Source§impl Clone for LineBreakStyleValue
impl Clone for LineBreakStyleValue
Source§fn clone(&self) -> LineBreakStyleValue
fn clone(&self) -> LineBreakStyleValue
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 LineBreakStyleValue
impl Debug for LineBreakStyleValue
Source§impl Hash for LineBreakStyleValue
impl Hash for LineBreakStyleValue
Source§impl Ord for LineBreakStyleValue
impl Ord for LineBreakStyleValue
Source§fn cmp(&self, other: &LineBreakStyleValue) -> Ordering
fn cmp(&self, other: &LineBreakStyleValue) -> 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 LineBreakStyleValue
impl<'a> Parse<'a> for LineBreakStyleValue
Source§impl PartialEq for LineBreakStyleValue
impl PartialEq for LineBreakStyleValue
Source§impl PartialOrd for LineBreakStyleValue
impl PartialOrd for LineBreakStyleValue
Source§impl<'a> Peek<'a> for LineBreakStyleValue
impl<'a> Peek<'a> for LineBreakStyleValue
Source§impl ToCursors for LineBreakStyleValue
impl ToCursors for LineBreakStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for LineBreakStyleValue
impl StructuralPartialEq for LineBreakStyleValue
Auto Trait Implementations§
impl Freeze for LineBreakStyleValue
impl RefUnwindSafe for LineBreakStyleValue
impl Send for LineBreakStyleValue
impl Sync for LineBreakStyleValue
impl Unpin for LineBreakStyleValue
impl UnwindSafe for LineBreakStyleValue
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