pub struct WebkitLineClampStyleValue(pub NoneOr<Integer>);Expand description
Represents the style value for -webkit-line-clamp 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 WebkitLineClampStyleValue
impl Clone for WebkitLineClampStyleValue
Source§fn clone(&self) -> WebkitLineClampStyleValue
fn clone(&self) -> WebkitLineClampStyleValue
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 WebkitLineClampStyleValue
impl Debug for WebkitLineClampStyleValue
Source§impl Hash for WebkitLineClampStyleValue
impl Hash for WebkitLineClampStyleValue
Source§impl Ord for WebkitLineClampStyleValue
impl Ord for WebkitLineClampStyleValue
Source§fn cmp(&self, other: &WebkitLineClampStyleValue) -> Ordering
fn cmp(&self, other: &WebkitLineClampStyleValue) -> 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 WebkitLineClampStyleValue
impl<'a> Parse<'a> for WebkitLineClampStyleValue
Source§impl PartialOrd for WebkitLineClampStyleValue
impl PartialOrd for WebkitLineClampStyleValue
Source§impl<'a> Peek<'a> for WebkitLineClampStyleValue
impl<'a> Peek<'a> for WebkitLineClampStyleValue
Source§impl ToCursors for WebkitLineClampStyleValue
impl ToCursors for WebkitLineClampStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for WebkitLineClampStyleValue
impl StructuralPartialEq for WebkitLineClampStyleValue
Auto Trait Implementations§
impl Freeze for WebkitLineClampStyleValue
impl RefUnwindSafe for WebkitLineClampStyleValue
impl Send for WebkitLineClampStyleValue
impl Sync for WebkitLineClampStyleValue
impl Unpin for WebkitLineClampStyleValue
impl UnwindSafe for WebkitLineClampStyleValue
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