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