pub enum MainAxisSize {
Min,
Max,
}
Expand description
Defines how much space should be occupied in the main axis for a Flex arranger. Flutters’s MainAxisSize.
Variants§
Min
Minimize the amount of free space along the main axis.
Max
Maximize the amount of free space along the main axis.
Trait Implementations§
Source§impl Clone for MainAxisSize
impl Clone for MainAxisSize
Source§fn clone(&self) -> MainAxisSize
fn clone(&self) -> MainAxisSize
Returns a copy 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 MainAxisSize
impl Debug for MainAxisSize
Source§impl Default for MainAxisSize
impl Default for MainAxisSize
Source§impl PartialEq for MainAxisSize
impl PartialEq for MainAxisSize
impl Copy for MainAxisSize
impl Eq for MainAxisSize
impl StructuralPartialEq for MainAxisSize
Auto Trait Implementations§
impl Freeze for MainAxisSize
impl RefUnwindSafe for MainAxisSize
impl Send for MainAxisSize
impl Sync for MainAxisSize
impl Unpin for MainAxisSize
impl UnwindSafe for MainAxisSize
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)