#[repr(C)]pub struct LayoutFlexGrow {
pub inner: FloatValue,
}Expand description
Represents a flex-grow attribute, which dictates what proportion of the
remaining space in the flex container should be assigned to the item.
Default: 0
Fields§
§inner: FloatValueImplementations§
Trait Implementations§
Source§impl Clone for LayoutFlexGrow
impl Clone for LayoutFlexGrow
Source§fn clone(&self) -> LayoutFlexGrow
fn clone(&self) -> LayoutFlexGrow
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 LayoutFlexGrow
impl Debug for LayoutFlexGrow
Source§impl Default for LayoutFlexGrow
impl Default for LayoutFlexGrow
Source§impl FormatAsRustCode for LayoutFlexGrow
impl FormatAsRustCode for LayoutFlexGrow
fn format_as_rust_code(&self, _tabs: usize) -> String
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
Source§impl PrintAsCssValue for LayoutFlexGrow
impl PrintAsCssValue for LayoutFlexGrow
fn print_as_css_value(&self) -> String
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