pub struct FlexGrow<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Trait Implementations§
Source§impl Default for FlexGrow<FlexGrowValue>
impl Default for FlexGrow<FlexGrowValue>
Source§impl<T> From<T> for FlexGrow<FlexGrowValue>
impl<T> From<T> for FlexGrow<FlexGrowValue>
Source§impl NumberStorage for FlexGrow<FlexGrowValue>
impl NumberStorage for FlexGrow<FlexGrowValue>
Source§impl<T> Property for FlexGrow<T>
impl<T> Property for FlexGrow<T>
Source§fn declaration(&self) -> String
fn declaration(&self) -> String
Returns the stringified property name with its value
as a CSS declaration to be used within a declaration block. Read more
Source§impl<T> PropertyName for FlexGrow<T>
impl<T> PropertyName for FlexGrow<T>
fn property_name<'a>(&self) -> &'a str
impl<T> StructuralPartialEq for FlexGrow<T>
impl UnitDataType<FlexGrow<FlexGrowValue>> for FlexGrowValue
impl UnitDataType<FlexGrow<Nothing>> for Nothing
impl<T> UnitDataType<FlexGrow<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for FlexGrow<T>
Auto Trait Implementations§
impl<T> Freeze for FlexGrow<T>where
T: Freeze,
impl<T> RefUnwindSafe for FlexGrow<T>where
T: RefUnwindSafe,
impl<T> Send for FlexGrow<T>where
T: Send,
impl<T> Sync for FlexGrow<T>where
T: Sync,
impl<T> Unpin for FlexGrow<T>where
T: Unpin,
impl<T> UnwindSafe for FlexGrow<T>where
T: UnwindSafe,
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