pub enum SizeMode {
MinContent,
MaxContent,
FitContent(f32),
}Expand description
Content-based sizing mode for a panel.
Overrides flex-basis when set, emitting CSS intrinsic-sizing keywords.
Variants§
Trait Implementations§
impl Copy for SizeMode
impl StructuralPartialEq for SizeMode
Auto Trait Implementations§
impl Freeze for SizeMode
impl RefUnwindSafe for SizeMode
impl Send for SizeMode
impl Sync for SizeMode
impl Unpin for SizeMode
impl UnsafeUnpin for SizeMode
impl UnwindSafe for SizeMode
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