pub enum HyphensStyleValue {
None(Ident),
Manual(Ident),
Auto(Ident),
}Expand description
Represents the style value for hyphens as defined in css-text-4.
The hyphens CSS property controls when long words are broken by line wrapping. Although called hyphens, the property applies to word-splitting behavior across languages, such as customary spelling changes or the use of other characters. Support for non-English languages varies significantly.
The grammar is defined as:
none | manual | autoVariants§
Trait Implementations§
Source§impl Clone for HyphensStyleValue
impl Clone for HyphensStyleValue
Source§fn clone(&self) -> HyphensStyleValue
fn clone(&self) -> HyphensStyleValue
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 HyphensStyleValue
impl Debug for HyphensStyleValue
Source§impl Hash for HyphensStyleValue
impl Hash for HyphensStyleValue
Source§impl Ord for HyphensStyleValue
impl Ord for HyphensStyleValue
Source§fn cmp(&self, other: &HyphensStyleValue) -> Ordering
fn cmp(&self, other: &HyphensStyleValue) -> 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 HyphensStyleValue
impl<'a> Parse<'a> for HyphensStyleValue
Source§impl PartialEq for HyphensStyleValue
impl PartialEq for HyphensStyleValue
Source§impl PartialOrd for HyphensStyleValue
impl PartialOrd for HyphensStyleValue
Source§impl<'a> Peek<'a> for HyphensStyleValue
impl<'a> Peek<'a> for HyphensStyleValue
Source§impl ToCursors for HyphensStyleValue
impl ToCursors for HyphensStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for HyphensStyleValue
impl StructuralPartialEq for HyphensStyleValue
Auto Trait Implementations§
impl Freeze for HyphensStyleValue
impl RefUnwindSafe for HyphensStyleValue
impl Send for HyphensStyleValue
impl Sync for HyphensStyleValue
impl Unpin for HyphensStyleValue
impl UnwindSafe for HyphensStyleValue
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