#[repr(transparent)]pub struct FlexGrow(pub f32);Expand description
Keyless style! property wrapper setting flex grow factor.
Tuple Fields§
§0: f32Trait Implementations§
impl Copy for FlexGrow
impl StructuralPartialEq for FlexGrow
Source§impl StyleApply for FlexGrow
StyleApply implementation for FlexGrow.
impl StyleApply for FlexGrow
StyleApply implementation for FlexGrow.
Source§fn apply_in_place(self, style: &mut Style)
fn apply_in_place(self, style: &mut Style)
Applies FlexGrow directly in place onto style.
§Arguments
Self- Flex grow factor wrapper.&mut Style- Style accumulator mutated in place.
Auto Trait Implementations§
impl Forget for FlexGrow
impl Freeze for FlexGrow
impl Move for FlexGrow
impl RefUnwindSafe for FlexGrow
impl Send for FlexGrow
impl Sync for FlexGrow
impl Unpin for FlexGrow
impl UnsafeUnpin for FlexGrow
impl UnwindSafe for FlexGrow
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