pub enum Display {
Grid,
None,
}
Expand description
Sets the layout used for the children of this node
The default values depends on on which feature flags are enabled. The order of precedence is: Flex, Grid, Block, None.
Variants§
Grid
The children will follow the CSS Grid layout algorithm
None
The node is hidden, and it’s children will also be hidden
Implementations§
Trait Implementations§
impl Copy for Display
impl Eq for Display
impl StructuralPartialEq for Display
Auto Trait Implementations§
impl Freeze for Display
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