pub enum GlyphOrientationVerticalStyleValue {
Auto(Ident),
Literal0deg(Dimension),
Literal90deg(Dimension),
Literal0(CSSInt),
Literal90(CSSInt),
}Expand description
Represents the style value for glyph-orientation-vertical as defined in css-writing-modes-4.
The glyph-orientation-vertical CSS property sets the orientation of glyphs in text rendered in a vertical writing mode.
The grammar is defined as:
auto | 0deg | 90deg | 0 | 90Variants§
Trait Implementations§
Source§impl Clone for GlyphOrientationVerticalStyleValue
impl Clone for GlyphOrientationVerticalStyleValue
Source§fn clone(&self) -> GlyphOrientationVerticalStyleValue
fn clone(&self) -> GlyphOrientationVerticalStyleValue
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 Ord for GlyphOrientationVerticalStyleValue
impl Ord for GlyphOrientationVerticalStyleValue
Source§fn cmp(&self, other: &GlyphOrientationVerticalStyleValue) -> Ordering
fn cmp(&self, other: &GlyphOrientationVerticalStyleValue) -> 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 GlyphOrientationVerticalStyleValue
impl<'a> Parse<'a> for GlyphOrientationVerticalStyleValue
Source§impl PartialEq for GlyphOrientationVerticalStyleValue
impl PartialEq for GlyphOrientationVerticalStyleValue
Source§fn eq(&self, other: &GlyphOrientationVerticalStyleValue) -> bool
fn eq(&self, other: &GlyphOrientationVerticalStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GlyphOrientationVerticalStyleValue
impl PartialOrd for GlyphOrientationVerticalStyleValue
Source§impl<'a> Peek<'a> for GlyphOrientationVerticalStyleValue
impl<'a> Peek<'a> for GlyphOrientationVerticalStyleValue
Source§impl ToCursors for GlyphOrientationVerticalStyleValue
impl ToCursors for GlyphOrientationVerticalStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for GlyphOrientationVerticalStyleValue
impl StructuralPartialEq for GlyphOrientationVerticalStyleValue
Auto Trait Implementations§
impl Freeze for GlyphOrientationVerticalStyleValue
impl RefUnwindSafe for GlyphOrientationVerticalStyleValue
impl Send for GlyphOrientationVerticalStyleValue
impl Sync for GlyphOrientationVerticalStyleValue
impl Unpin for GlyphOrientationVerticalStyleValue
impl UnwindSafe for GlyphOrientationVerticalStyleValue
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