pub enum TextAutospaceStyleValue {
Normal(Ident),
Autospace(Autospace),
Auto(Ident),
}Expand description
Represents the style value for text-autospace as defined in css-text-4.
The text-autospace CSS property sets whether and how to insert spaces in inter-script text (such as when mixing Latin and Chinese characters) and around punctuation.
The grammar is defined as:
normal | <autospace> | autoVariants§
Trait Implementations§
Source§impl Clone for TextAutospaceStyleValue
impl Clone for TextAutospaceStyleValue
Source§fn clone(&self) -> TextAutospaceStyleValue
fn clone(&self) -> TextAutospaceStyleValue
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 TextAutospaceStyleValue
impl Debug for TextAutospaceStyleValue
Source§impl Hash for TextAutospaceStyleValue
impl Hash for TextAutospaceStyleValue
Source§impl Ord for TextAutospaceStyleValue
impl Ord for TextAutospaceStyleValue
Source§fn cmp(&self, other: &TextAutospaceStyleValue) -> Ordering
fn cmp(&self, other: &TextAutospaceStyleValue) -> 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 TextAutospaceStyleValue
impl<'a> Parse<'a> for TextAutospaceStyleValue
Source§impl PartialEq for TextAutospaceStyleValue
impl PartialEq for TextAutospaceStyleValue
Source§impl PartialOrd for TextAutospaceStyleValue
impl PartialOrd for TextAutospaceStyleValue
Source§impl<'a> Peek<'a> for TextAutospaceStyleValue
impl<'a> Peek<'a> for TextAutospaceStyleValue
Source§impl ToCursors for TextAutospaceStyleValue
impl ToCursors for TextAutospaceStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextAutospaceStyleValue
impl StructuralPartialEq for TextAutospaceStyleValue
Auto Trait Implementations§
impl Freeze for TextAutospaceStyleValue
impl RefUnwindSafe for TextAutospaceStyleValue
impl Send for TextAutospaceStyleValue
impl Sync for TextAutospaceStyleValue
impl Unpin for TextAutospaceStyleValue
impl UnwindSafe for TextAutospaceStyleValue
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