pub enum LineSnapStyleValue {
None(Ident),
Baseline(Ident),
Contain(Ident),
}Expand description
Represents the style value for line-snap as defined in css-line-grid-1.
The grammar is defined as:
none | baseline | containVariants§
Trait Implementations§
Source§impl Clone for LineSnapStyleValue
impl Clone for LineSnapStyleValue
Source§fn clone(&self) -> LineSnapStyleValue
fn clone(&self) -> LineSnapStyleValue
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 LineSnapStyleValue
impl Debug for LineSnapStyleValue
Source§impl Hash for LineSnapStyleValue
impl Hash for LineSnapStyleValue
Source§impl Ord for LineSnapStyleValue
impl Ord for LineSnapStyleValue
Source§fn cmp(&self, other: &LineSnapStyleValue) -> Ordering
fn cmp(&self, other: &LineSnapStyleValue) -> 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 LineSnapStyleValue
impl<'a> Parse<'a> for LineSnapStyleValue
Source§impl PartialEq for LineSnapStyleValue
impl PartialEq for LineSnapStyleValue
Source§impl PartialOrd for LineSnapStyleValue
impl PartialOrd for LineSnapStyleValue
Source§impl<'a> Peek<'a> for LineSnapStyleValue
impl<'a> Peek<'a> for LineSnapStyleValue
Source§impl ToCursors for LineSnapStyleValue
impl ToCursors for LineSnapStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for LineSnapStyleValue
impl StructuralPartialEq for LineSnapStyleValue
Auto Trait Implementations§
impl Freeze for LineSnapStyleValue
impl RefUnwindSafe for LineSnapStyleValue
impl Send for LineSnapStyleValue
impl Sync for LineSnapStyleValue
impl Unpin for LineSnapStyleValue
impl UnwindSafe for LineSnapStyleValue
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