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