pub enum TextCombineUprightStyleValue {
None(Ident),
All(Ident),
Digits(Ident, Option<Integer>),
}Expand description
Represents the style value for text-combine-upright as defined in css-writing-modes-4.
The text-combine-upright CSS property displays multiple characters in the space of a single character in vertical text. This is used in East Asian documents to display Latin-based strings such as components of a date or letters of an initialism.
The grammar is defined as:
none | all | [ digits <integer [2,4]>? ]Variants§
Trait Implementations§
Source§impl Clone for TextCombineUprightStyleValue
impl Clone for TextCombineUprightStyleValue
Source§fn clone(&self) -> TextCombineUprightStyleValue
fn clone(&self) -> TextCombineUprightStyleValue
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 TextCombineUprightStyleValue
impl Debug for TextCombineUprightStyleValue
Source§impl Hash for TextCombineUprightStyleValue
impl Hash for TextCombineUprightStyleValue
Source§impl Ord for TextCombineUprightStyleValue
impl Ord for TextCombineUprightStyleValue
Source§fn cmp(&self, other: &TextCombineUprightStyleValue) -> Ordering
fn cmp(&self, other: &TextCombineUprightStyleValue) -> 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 TextCombineUprightStyleValue
impl<'a> Parse<'a> for TextCombineUprightStyleValue
Source§impl PartialEq for TextCombineUprightStyleValue
impl PartialEq for TextCombineUprightStyleValue
Source§fn eq(&self, other: &TextCombineUprightStyleValue) -> bool
fn eq(&self, other: &TextCombineUprightStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TextCombineUprightStyleValue
impl PartialOrd for TextCombineUprightStyleValue
Source§impl<'a> Peek<'a> for TextCombineUprightStyleValue
impl<'a> Peek<'a> for TextCombineUprightStyleValue
Source§impl ToCursors for TextCombineUprightStyleValue
impl ToCursors for TextCombineUprightStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextCombineUprightStyleValue
impl StructuralPartialEq for TextCombineUprightStyleValue
Auto Trait Implementations§
impl Freeze for TextCombineUprightStyleValue
impl RefUnwindSafe for TextCombineUprightStyleValue
impl Send for TextCombineUprightStyleValue
impl Sync for TextCombineUprightStyleValue
impl Unpin for TextCombineUprightStyleValue
impl UnwindSafe for TextCombineUprightStyleValue
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