pub enum TextOrientationStyleValue {
Mixed(Ident),
Upright(Ident),
Sideways(Ident),
}Expand description
Represents the style value for text-orientation as defined in css-writing-modes-4.
The text-orientation CSS property sets the how text is typeset within a line when the writing mode is vertical.
The grammar is defined as:
mixed | upright | sidewaysVariants§
Trait Implementations§
Source§impl Clone for TextOrientationStyleValue
impl Clone for TextOrientationStyleValue
Source§fn clone(&self) -> TextOrientationStyleValue
fn clone(&self) -> TextOrientationStyleValue
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 TextOrientationStyleValue
impl Debug for TextOrientationStyleValue
Source§impl Hash for TextOrientationStyleValue
impl Hash for TextOrientationStyleValue
Source§impl Ord for TextOrientationStyleValue
impl Ord for TextOrientationStyleValue
Source§fn cmp(&self, other: &TextOrientationStyleValue) -> Ordering
fn cmp(&self, other: &TextOrientationStyleValue) -> 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 TextOrientationStyleValue
impl<'a> Parse<'a> for TextOrientationStyleValue
Source§impl PartialOrd for TextOrientationStyleValue
impl PartialOrd for TextOrientationStyleValue
Source§impl<'a> Peek<'a> for TextOrientationStyleValue
impl<'a> Peek<'a> for TextOrientationStyleValue
Source§impl ToCursors for TextOrientationStyleValue
impl ToCursors for TextOrientationStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextOrientationStyleValue
impl StructuralPartialEq for TextOrientationStyleValue
Auto Trait Implementations§
impl Freeze for TextOrientationStyleValue
impl RefUnwindSafe for TextOrientationStyleValue
impl Send for TextOrientationStyleValue
impl Sync for TextOrientationStyleValue
impl Unpin for TextOrientationStyleValue
impl UnwindSafe for TextOrientationStyleValue
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