pub enum LayoutType {
Row,
Column,
Grid,
}Expand description
The layout type determines how nodes will be positioned when directed by the parent
Variants§
Row
Stack child elements horizontally
Column
Stack child elements vertically
Grid
Position child elements into specified rows and columns
Trait Implementations§
Source§impl Clone for LayoutType
impl Clone for LayoutType
Source§fn clone(&self) -> LayoutType
fn clone(&self) -> LayoutType
Returns a duplicate 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 LayoutType
impl Debug for LayoutType
Source§impl Default for LayoutType
impl Default for LayoutType
Source§fn default() -> LayoutType
fn default() -> LayoutType
Returns the “default value” for a type. Read more
Source§impl PartialEq for LayoutType
impl PartialEq for LayoutType
impl Copy for LayoutType
impl StructuralPartialEq for LayoutType
Auto Trait Implementations§
impl Freeze for LayoutType
impl RefUnwindSafe for LayoutType
impl Send for LayoutType
impl Sync for LayoutType
impl Unpin for LayoutType
impl UnwindSafe for LayoutType
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