pub enum AlignmentBaselineStyleValue {
Baseline(Ident),
TextBottom(Ident),
Alphabetic(Ident),
Ideographic(Ident),
Middle(Ident),
Central(Ident),
Mathematical(Ident),
TextTop(Ident),
}Expand description
Represents the style value for alignment-baseline as defined in css-inline-3.
The alignment-baseline CSS property sets which baseline of an element is aligned with the corresponding baseline of its parent.
The grammar is defined as:
baseline | text-bottom | alphabetic | ideographic | middle | central | mathematical | text-topVariants§
Baseline(Ident)
TextBottom(Ident)
Alphabetic(Ident)
Ideographic(Ident)
Middle(Ident)
Central(Ident)
Mathematical(Ident)
TextTop(Ident)
Trait Implementations§
Source§impl Clone for AlignmentBaselineStyleValue
impl Clone for AlignmentBaselineStyleValue
Source§fn clone(&self) -> AlignmentBaselineStyleValue
fn clone(&self) -> AlignmentBaselineStyleValue
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 AlignmentBaselineStyleValue
impl Debug for AlignmentBaselineStyleValue
Source§impl Hash for AlignmentBaselineStyleValue
impl Hash for AlignmentBaselineStyleValue
Source§impl Ord for AlignmentBaselineStyleValue
impl Ord for AlignmentBaselineStyleValue
Source§fn cmp(&self, other: &AlignmentBaselineStyleValue) -> Ordering
fn cmp(&self, other: &AlignmentBaselineStyleValue) -> 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 AlignmentBaselineStyleValue
impl<'a> Parse<'a> for AlignmentBaselineStyleValue
Source§impl PartialOrd for AlignmentBaselineStyleValue
impl PartialOrd for AlignmentBaselineStyleValue
Source§impl<'a> Peek<'a> for AlignmentBaselineStyleValue
impl<'a> Peek<'a> for AlignmentBaselineStyleValue
Source§impl ToCursors for AlignmentBaselineStyleValue
impl ToCursors for AlignmentBaselineStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for AlignmentBaselineStyleValue
impl StructuralPartialEq for AlignmentBaselineStyleValue
Auto Trait Implementations§
impl Freeze for AlignmentBaselineStyleValue
impl RefUnwindSafe for AlignmentBaselineStyleValue
impl Send for AlignmentBaselineStyleValue
impl Sync for AlignmentBaselineStyleValue
impl Unpin for AlignmentBaselineStyleValue
impl UnwindSafe for AlignmentBaselineStyleValue
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