pub struct LayoutFlexGrow(pub FloatValue);
Expand description
Represents a flex-grow
attribute
Tuple Fields§
§0: FloatValue
Trait Implementations§
Source§impl Clone for LayoutFlexGrow
impl Clone for LayoutFlexGrow
Source§fn clone(&self) -> LayoutFlexGrow
fn clone(&self) -> LayoutFlexGrow
Returns a copy 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 LayoutFlexGrow
impl Debug for LayoutFlexGrow
Source§impl Default for LayoutFlexGrow
impl Default for LayoutFlexGrow
Source§impl Display for LayoutFlexGrow
impl Display for LayoutFlexGrow
Source§impl FormatAsCssValue for LayoutFlexGrow
impl FormatAsCssValue for LayoutFlexGrow
fn format_as_css_value(&self, f: &mut Formatter<'_>) -> Result
Source§impl From<LayoutFlexGrow> for CssProperty
impl From<LayoutFlexGrow> for CssProperty
Source§fn from(e: LayoutFlexGrow) -> Self
fn from(e: LayoutFlexGrow) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutFlexGrow
impl Hash for LayoutFlexGrow
Source§impl Ord for LayoutFlexGrow
impl Ord for LayoutFlexGrow
Source§fn cmp(&self, other: &LayoutFlexGrow) -> Ordering
fn cmp(&self, other: &LayoutFlexGrow) -> 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 PartialEq for LayoutFlexGrow
impl PartialEq for LayoutFlexGrow
Source§impl PartialOrd for LayoutFlexGrow
impl PartialOrd for LayoutFlexGrow
impl Copy for LayoutFlexGrow
impl Eq for LayoutFlexGrow
impl StructuralPartialEq for LayoutFlexGrow
Auto Trait Implementations§
impl Freeze for LayoutFlexGrow
impl RefUnwindSafe for LayoutFlexGrow
impl Send for LayoutFlexGrow
impl Sync for LayoutFlexGrow
impl Unpin for LayoutFlexGrow
impl UnwindSafe for LayoutFlexGrow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)