pub enum BlockStepRoundStyleValue {
Up(Ident),
Down(Ident),
Nearest(Ident),
}Expand description
Represents the style value for block-step-round as defined in css-rhythm-1.
The grammar is defined as:
up | down | nearestVariants§
Trait Implementations§
Source§impl Clone for BlockStepRoundStyleValue
impl Clone for BlockStepRoundStyleValue
Source§fn clone(&self) -> BlockStepRoundStyleValue
fn clone(&self) -> BlockStepRoundStyleValue
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 BlockStepRoundStyleValue
impl Debug for BlockStepRoundStyleValue
Source§impl Hash for BlockStepRoundStyleValue
impl Hash for BlockStepRoundStyleValue
Source§impl Ord for BlockStepRoundStyleValue
impl Ord for BlockStepRoundStyleValue
Source§fn cmp(&self, other: &BlockStepRoundStyleValue) -> Ordering
fn cmp(&self, other: &BlockStepRoundStyleValue) -> 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 BlockStepRoundStyleValue
impl<'a> Parse<'a> for BlockStepRoundStyleValue
Source§impl PartialEq for BlockStepRoundStyleValue
impl PartialEq for BlockStepRoundStyleValue
Source§impl PartialOrd for BlockStepRoundStyleValue
impl PartialOrd for BlockStepRoundStyleValue
Source§impl<'a> Peek<'a> for BlockStepRoundStyleValue
impl<'a> Peek<'a> for BlockStepRoundStyleValue
Source§impl ToCursors for BlockStepRoundStyleValue
impl ToCursors for BlockStepRoundStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BlockStepRoundStyleValue
impl StructuralPartialEq for BlockStepRoundStyleValue
Auto Trait Implementations§
impl Freeze for BlockStepRoundStyleValue
impl RefUnwindSafe for BlockStepRoundStyleValue
impl Send for BlockStepRoundStyleValue
impl Sync for BlockStepRoundStyleValue
impl Unpin for BlockStepRoundStyleValue
impl UnwindSafe for BlockStepRoundStyleValue
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