pub enum BlockStepInsertStyleValue {
MarginBox(Ident),
PaddingBox(Ident),
ContentBox(Ident),
}Expand description
Represents the style value for block-step-insert as defined in css-rhythm-1.
The grammar is defined as:
margin-box | padding-box | content-boxVariants§
Trait Implementations§
Source§impl Clone for BlockStepInsertStyleValue
impl Clone for BlockStepInsertStyleValue
Source§fn clone(&self) -> BlockStepInsertStyleValue
fn clone(&self) -> BlockStepInsertStyleValue
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 BlockStepInsertStyleValue
impl Debug for BlockStepInsertStyleValue
Source§impl Hash for BlockStepInsertStyleValue
impl Hash for BlockStepInsertStyleValue
Source§impl Ord for BlockStepInsertStyleValue
impl Ord for BlockStepInsertStyleValue
Source§fn cmp(&self, other: &BlockStepInsertStyleValue) -> Ordering
fn cmp(&self, other: &BlockStepInsertStyleValue) -> 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 BlockStepInsertStyleValue
impl<'a> Parse<'a> for BlockStepInsertStyleValue
Source§impl PartialOrd for BlockStepInsertStyleValue
impl PartialOrd for BlockStepInsertStyleValue
Source§impl<'a> Peek<'a> for BlockStepInsertStyleValue
impl<'a> Peek<'a> for BlockStepInsertStyleValue
Source§impl ToCursors for BlockStepInsertStyleValue
impl ToCursors for BlockStepInsertStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BlockStepInsertStyleValue
impl StructuralPartialEq for BlockStepInsertStyleValue
Auto Trait Implementations§
impl Freeze for BlockStepInsertStyleValue
impl RefUnwindSafe for BlockStepInsertStyleValue
impl Send for BlockStepInsertStyleValue
impl Sync for BlockStepInsertStyleValue
impl Unpin for BlockStepInsertStyleValue
impl UnwindSafe for BlockStepInsertStyleValue
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