pub struct BlockStepStyleValue {
pub block_step_size: Option<BlockStepSizeStyleValue>,
pub block_step_insert: Option<BlockStepInsertStyleValue>,
pub block_step_align: Option<BlockStepAlignStyleValue>,
pub block_step_round: Option<BlockStepRoundStyleValue>,
}Expand description
Represents the style value for block-step as defined in css-rhythm-1.
The grammar is defined as:
<'block-step-size'> || <'block-step-insert'> || <'block-step-align'> || <'block-step-round'>Fields§
§block_step_size: Option<BlockStepSizeStyleValue>§block_step_insert: Option<BlockStepInsertStyleValue>§block_step_align: Option<BlockStepAlignStyleValue>§block_step_round: Option<BlockStepRoundStyleValue>Trait Implementations§
Source§impl Clone for BlockStepStyleValue
impl Clone for BlockStepStyleValue
Source§fn clone(&self) -> BlockStepStyleValue
fn clone(&self) -> BlockStepStyleValue
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 BlockStepStyleValue
impl Debug for BlockStepStyleValue
Source§impl Hash for BlockStepStyleValue
impl Hash for BlockStepStyleValue
Source§impl Ord for BlockStepStyleValue
impl Ord for BlockStepStyleValue
Source§fn cmp(&self, other: &BlockStepStyleValue) -> Ordering
fn cmp(&self, other: &BlockStepStyleValue) -> 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 BlockStepStyleValue
impl<'a> Parse<'a> for BlockStepStyleValue
Source§impl PartialEq for BlockStepStyleValue
impl PartialEq for BlockStepStyleValue
Source§impl PartialOrd for BlockStepStyleValue
impl PartialOrd for BlockStepStyleValue
Source§impl<'a> Peek<'a> for BlockStepStyleValue
impl<'a> Peek<'a> for BlockStepStyleValue
Source§impl ToCursors for BlockStepStyleValue
impl ToCursors for BlockStepStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BlockStepStyleValue
impl StructuralPartialEq for BlockStepStyleValue
Auto Trait Implementations§
impl Freeze for BlockStepStyleValue
impl RefUnwindSafe for BlockStepStyleValue
impl Send for BlockStepStyleValue
impl Sync for BlockStepStyleValue
impl Unpin for BlockStepStyleValue
impl UnwindSafe for BlockStepStyleValue
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