pub enum Layout {
Column,
Row,
Grid {
columns: u32,
},
Stack,
}Expand description
Layout direction for containers.
Variants§
Column
Vertical layout (children stacked top-to-bottom).
Row
Horizontal layout (children arranged left-to-right).
Grid
Grid layout with specified number of columns.
Stack
Stack layout (children overlaid on top of each other).
Implementations§
Trait Implementations§
impl Copy for Layout
impl Eq for Layout
impl StructuralPartialEq for Layout
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnwindSafe for Layout
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