pub enum Grow {
Fixed,
Along(Axis),
}Expand description
Whether an element keeps its size or takes leftover room.
Variants§
Fixed
The element keeps its preferred size.
Along(Axis)
The element grows along this axis, one slot step at a time, up to its maximum.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Grow
impl<'de> Deserialize<'de> for Grow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Grow
impl Eq for Grow
impl StructuralPartialEq for Grow
Auto Trait Implementations§
impl Freeze for Grow
impl RefUnwindSafe for Grow
impl Send for Grow
impl Sync for Grow
impl Unpin for Grow
impl UnsafeUnpin for Grow
impl UnwindSafe for Grow
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