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