pub struct BlockStepSizeStyleValue(pub NoneOr<Length>);Expand description
Represents the style value for block-step-size as defined in css-rhythm-1.
The grammar is defined as:
none | <length [0,∞]>Tuple Fields§
§0: NoneOr<Length>Trait Implementations§
Source§impl Clone for BlockStepSizeStyleValue
impl Clone for BlockStepSizeStyleValue
Source§fn clone(&self) -> BlockStepSizeStyleValue
fn clone(&self) -> BlockStepSizeStyleValue
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 BlockStepSizeStyleValue
impl Debug for BlockStepSizeStyleValue
Source§impl Hash for BlockStepSizeStyleValue
impl Hash for BlockStepSizeStyleValue
Source§impl Ord for BlockStepSizeStyleValue
impl Ord for BlockStepSizeStyleValue
Source§fn cmp(&self, other: &BlockStepSizeStyleValue) -> Ordering
fn cmp(&self, other: &BlockStepSizeStyleValue) -> 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 BlockStepSizeStyleValue
impl<'a> Parse<'a> for BlockStepSizeStyleValue
Source§impl PartialEq for BlockStepSizeStyleValue
impl PartialEq for BlockStepSizeStyleValue
Source§impl PartialOrd for BlockStepSizeStyleValue
impl PartialOrd for BlockStepSizeStyleValue
Source§impl<'a> Peek<'a> for BlockStepSizeStyleValue
impl<'a> Peek<'a> for BlockStepSizeStyleValue
Source§impl ToCursors for BlockStepSizeStyleValue
impl ToCursors for BlockStepSizeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BlockStepSizeStyleValue
impl StructuralPartialEq for BlockStepSizeStyleValue
Auto Trait Implementations§
impl Freeze for BlockStepSizeStyleValue
impl RefUnwindSafe for BlockStepSizeStyleValue
impl Send for BlockStepSizeStyleValue
impl Sync for BlockStepSizeStyleValue
impl Unpin for BlockStepSizeStyleValue
impl UnwindSafe for BlockStepSizeStyleValue
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