pub enum Display {
Flex,
Grid,
None,
}
Expand description
Sets the layout used for the children of this node
Display::Flex
is the default value.
Variants§
Flex
The children will follow the flexbox layout algorithm
Grid
The children will follow the CSS Grid layout algorithm
None
The children will not be laid out, and will follow absolute positioning
Trait Implementations§
source§impl PartialEq for Display
impl PartialEq for Display
impl Copy for Display
impl Eq for Display
impl StructuralEq for Display
impl StructuralPartialEq for Display
Auto Trait Implementations§
impl RefUnwindSafe for Display
impl Send for Display
impl Sync for Display
impl Unpin 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