pub enum WritingModeStyleValue {
HorizontalTb(Ident),
VerticalRl(Ident),
VerticalLr(Ident),
SidewaysRl(Ident),
SidewaysLr(Ident),
}Expand description
Represents the style value for writing-mode as defined in css-writing-modes-4.
The writing-mode CSS property sets whether text is laid out horizontally or vertically, and left to right, or right to left.
The grammar is defined as:
horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lrVariants§
Trait Implementations§
Source§impl Clone for WritingModeStyleValue
impl Clone for WritingModeStyleValue
Source§fn clone(&self) -> WritingModeStyleValue
fn clone(&self) -> WritingModeStyleValue
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 WritingModeStyleValue
impl Debug for WritingModeStyleValue
Source§impl Hash for WritingModeStyleValue
impl Hash for WritingModeStyleValue
Source§impl Ord for WritingModeStyleValue
impl Ord for WritingModeStyleValue
Source§fn cmp(&self, other: &WritingModeStyleValue) -> Ordering
fn cmp(&self, other: &WritingModeStyleValue) -> 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 WritingModeStyleValue
impl<'a> Parse<'a> for WritingModeStyleValue
Source§impl PartialEq for WritingModeStyleValue
impl PartialEq for WritingModeStyleValue
Source§impl PartialOrd for WritingModeStyleValue
impl PartialOrd for WritingModeStyleValue
Source§impl<'a> Peek<'a> for WritingModeStyleValue
impl<'a> Peek<'a> for WritingModeStyleValue
Source§impl ToCursors for WritingModeStyleValue
impl ToCursors for WritingModeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for WritingModeStyleValue
impl StructuralPartialEq for WritingModeStyleValue
Auto Trait Implementations§
impl Freeze for WritingModeStyleValue
impl RefUnwindSafe for WritingModeStyleValue
impl Send for WritingModeStyleValue
impl Sync for WritingModeStyleValue
impl Unpin for WritingModeStyleValue
impl UnwindSafe for WritingModeStyleValue
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