pub enum BaselineSourceStyleValue {
Auto(Ident),
First(Ident),
Last(Ident),
}Expand description
Represents the style value for baseline-source as defined in css-inline-3.
The baseline-source CSS property controls how inline-level boxes with multiple lines of text are aligned with the surrounding text. By default, which typographic baseline is used depends on the display property value.
The grammar is defined as:
auto | first | lastVariants§
Trait Implementations§
Source§impl Clone for BaselineSourceStyleValue
impl Clone for BaselineSourceStyleValue
Source§fn clone(&self) -> BaselineSourceStyleValue
fn clone(&self) -> BaselineSourceStyleValue
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 BaselineSourceStyleValue
impl Debug for BaselineSourceStyleValue
Source§impl Hash for BaselineSourceStyleValue
impl Hash for BaselineSourceStyleValue
Source§impl Ord for BaselineSourceStyleValue
impl Ord for BaselineSourceStyleValue
Source§fn cmp(&self, other: &BaselineSourceStyleValue) -> Ordering
fn cmp(&self, other: &BaselineSourceStyleValue) -> 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 BaselineSourceStyleValue
impl<'a> Parse<'a> for BaselineSourceStyleValue
Source§impl PartialEq for BaselineSourceStyleValue
impl PartialEq for BaselineSourceStyleValue
Source§impl PartialOrd for BaselineSourceStyleValue
impl PartialOrd for BaselineSourceStyleValue
Source§impl<'a> Peek<'a> for BaselineSourceStyleValue
impl<'a> Peek<'a> for BaselineSourceStyleValue
Source§impl ToCursors for BaselineSourceStyleValue
impl ToCursors for BaselineSourceStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BaselineSourceStyleValue
impl StructuralPartialEq for BaselineSourceStyleValue
Auto Trait Implementations§
impl Freeze for BaselineSourceStyleValue
impl RefUnwindSafe for BaselineSourceStyleValue
impl Send for BaselineSourceStyleValue
impl Sync for BaselineSourceStyleValue
impl Unpin for BaselineSourceStyleValue
impl UnwindSafe for BaselineSourceStyleValue
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