Enum carnelian::scene::layout::MainAxisSize
source · 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
source§fn eq(&self, other: &MainAxisSize) -> bool
fn eq(&self, other: &MainAxisSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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