pub struct HyphenateCharacterStyleValue(pub AutoOr<String>);Expand description
Represents the style value for hyphenate-character as defined in css-text-4.
The hyphenate-character CSS property sets the character or string to use at the end of a line before a line break.
The grammar is defined as:
auto | <string>Tuple Fields§
§0: AutoOr<String>Trait Implementations§
Source§impl Clone for HyphenateCharacterStyleValue
impl Clone for HyphenateCharacterStyleValue
Source§fn clone(&self) -> HyphenateCharacterStyleValue
fn clone(&self) -> HyphenateCharacterStyleValue
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 HyphenateCharacterStyleValue
impl Debug for HyphenateCharacterStyleValue
Source§impl Hash for HyphenateCharacterStyleValue
impl Hash for HyphenateCharacterStyleValue
Source§impl Ord for HyphenateCharacterStyleValue
impl Ord for HyphenateCharacterStyleValue
Source§fn cmp(&self, other: &HyphenateCharacterStyleValue) -> Ordering
fn cmp(&self, other: &HyphenateCharacterStyleValue) -> 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 HyphenateCharacterStyleValue
impl<'a> Parse<'a> for HyphenateCharacterStyleValue
Source§impl PartialEq for HyphenateCharacterStyleValue
impl PartialEq for HyphenateCharacterStyleValue
Source§fn eq(&self, other: &HyphenateCharacterStyleValue) -> bool
fn eq(&self, other: &HyphenateCharacterStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HyphenateCharacterStyleValue
impl PartialOrd for HyphenateCharacterStyleValue
Source§impl<'a> Peek<'a> for HyphenateCharacterStyleValue
impl<'a> Peek<'a> for HyphenateCharacterStyleValue
Source§impl ToCursors for HyphenateCharacterStyleValue
impl ToCursors for HyphenateCharacterStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for HyphenateCharacterStyleValue
impl StructuralPartialEq for HyphenateCharacterStyleValue
Auto Trait Implementations§
impl Freeze for HyphenateCharacterStyleValue
impl RefUnwindSafe for HyphenateCharacterStyleValue
impl Send for HyphenateCharacterStyleValue
impl Sync for HyphenateCharacterStyleValue
impl Unpin for HyphenateCharacterStyleValue
impl UnwindSafe for HyphenateCharacterStyleValue
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