pub enum Layout {
Column(Column),
Row(Row),
Grid(Grid),
Cell(TextCell),
Empty,
}
Expand description
A Layout
tells a component how to place it’s children.
Variants§
Column(Column)
Row(Row)
Grid(Grid)
Cell(TextCell)
The “text cell” layout. A component with the “text cell” layout means that it has no child components, only text.
Empty
Trait Implementations§
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