pub enum Display {
Flex,
Block,
}Expand description
Which layout algorithm arranges a node’s children.
Variants§
Flex
Children are laid out as a flex row or column.
Block
Children are laid out one after another down the block axis.
Trait Implementations§
impl Copy for Display
impl StructuralPartialEq for Display
Auto Trait Implementations§
impl Forget for Display
impl Freeze for Display
impl Move for Display
impl RefUnwindSafe for Display
impl Send for Display
impl Sync for Display
impl Unpin for Display
impl UnsafeUnpin for Display
impl UnwindSafe for Display
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