pub struct ColumnWidthStyleValue(pub AutoOr<Length>);Expand description
Represents the style value for column-width as defined in css-multicol-2.
Multi-column layout flows an element’s content across one or more columns in a single row, without affecting the display property of its children.
The grammar is defined as:
auto | <length [0,∞]>Tuple Fields§
§0: AutoOr<Length>Trait Implementations§
Source§impl Clone for ColumnWidthStyleValue
impl Clone for ColumnWidthStyleValue
Source§fn clone(&self) -> ColumnWidthStyleValue
fn clone(&self) -> ColumnWidthStyleValue
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 ColumnWidthStyleValue
impl Debug for ColumnWidthStyleValue
Source§impl Hash for ColumnWidthStyleValue
impl Hash for ColumnWidthStyleValue
Source§impl Ord for ColumnWidthStyleValue
impl Ord for ColumnWidthStyleValue
Source§fn cmp(&self, other: &ColumnWidthStyleValue) -> Ordering
fn cmp(&self, other: &ColumnWidthStyleValue) -> 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 ColumnWidthStyleValue
impl<'a> Parse<'a> for ColumnWidthStyleValue
Source§impl PartialEq for ColumnWidthStyleValue
impl PartialEq for ColumnWidthStyleValue
Source§impl PartialOrd for ColumnWidthStyleValue
impl PartialOrd for ColumnWidthStyleValue
Source§impl<'a> Peek<'a> for ColumnWidthStyleValue
impl<'a> Peek<'a> for ColumnWidthStyleValue
Source§impl ToCursors for ColumnWidthStyleValue
impl ToCursors for ColumnWidthStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ColumnWidthStyleValue
impl StructuralPartialEq for ColumnWidthStyleValue
Auto Trait Implementations§
impl Freeze for ColumnWidthStyleValue
impl RefUnwindSafe for ColumnWidthStyleValue
impl Send for ColumnWidthStyleValue
impl Sync for ColumnWidthStyleValue
impl Unpin for ColumnWidthStyleValue
impl UnwindSafe for ColumnWidthStyleValue
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