pub struct ColumnCountStyleValue(pub AutoOr<Integer>);Expand description
Represents the style value for column-count 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 | <integer [1,∞]>Tuple Fields§
§0: AutoOr<Integer>Trait Implementations§
Source§impl Clone for ColumnCountStyleValue
impl Clone for ColumnCountStyleValue
Source§fn clone(&self) -> ColumnCountStyleValue
fn clone(&self) -> ColumnCountStyleValue
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 ColumnCountStyleValue
impl Debug for ColumnCountStyleValue
Source§impl Hash for ColumnCountStyleValue
impl Hash for ColumnCountStyleValue
Source§impl Ord for ColumnCountStyleValue
impl Ord for ColumnCountStyleValue
Source§fn cmp(&self, other: &ColumnCountStyleValue) -> Ordering
fn cmp(&self, other: &ColumnCountStyleValue) -> 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 ColumnCountStyleValue
impl<'a> Parse<'a> for ColumnCountStyleValue
Source§impl PartialEq for ColumnCountStyleValue
impl PartialEq for ColumnCountStyleValue
Source§impl PartialOrd for ColumnCountStyleValue
impl PartialOrd for ColumnCountStyleValue
Source§impl<'a> Peek<'a> for ColumnCountStyleValue
impl<'a> Peek<'a> for ColumnCountStyleValue
Source§impl ToCursors for ColumnCountStyleValue
impl ToCursors for ColumnCountStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ColumnCountStyleValue
impl StructuralPartialEq for ColumnCountStyleValue
Auto Trait Implementations§
impl Freeze for ColumnCountStyleValue
impl RefUnwindSafe for ColumnCountStyleValue
impl Send for ColumnCountStyleValue
impl Sync for ColumnCountStyleValue
impl Unpin for ColumnCountStyleValue
impl UnwindSafe for ColumnCountStyleValue
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