pub struct FlexGrowStyleValue(pub Number);Expand description
Represents the style value for flex-grow as defined in css-flexbox-1.
Flexbox is a one-dimensional layout system, which places content either horizontally or vertically, with optional wrapping.
The grammar is defined as:
<number [0,∞]>Tuple Fields§
§0: NumberTrait Implementations§
Source§impl Clone for FlexGrowStyleValue
impl Clone for FlexGrowStyleValue
Source§fn clone(&self) -> FlexGrowStyleValue
fn clone(&self) -> FlexGrowStyleValue
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 FlexGrowStyleValue
impl Debug for FlexGrowStyleValue
Source§impl Hash for FlexGrowStyleValue
impl Hash for FlexGrowStyleValue
Source§impl Ord for FlexGrowStyleValue
impl Ord for FlexGrowStyleValue
Source§fn cmp(&self, other: &FlexGrowStyleValue) -> Ordering
fn cmp(&self, other: &FlexGrowStyleValue) -> 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 FlexGrowStyleValue
impl<'a> Parse<'a> for FlexGrowStyleValue
Source§impl PartialEq for FlexGrowStyleValue
impl PartialEq for FlexGrowStyleValue
Source§impl PartialOrd for FlexGrowStyleValue
impl PartialOrd for FlexGrowStyleValue
Source§impl<'a> Peek<'a> for FlexGrowStyleValue
impl<'a> Peek<'a> for FlexGrowStyleValue
Source§impl ToCursors for FlexGrowStyleValue
impl ToCursors for FlexGrowStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for FlexGrowStyleValue
impl StructuralPartialEq for FlexGrowStyleValue
Auto Trait Implementations§
impl Freeze for FlexGrowStyleValue
impl RefUnwindSafe for FlexGrowStyleValue
impl Send for FlexGrowStyleValue
impl Sync for FlexGrowStyleValue
impl Unpin for FlexGrowStyleValue
impl UnwindSafe for FlexGrowStyleValue
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