pub enum Display {
Flex,
Block,
Grid,
None,
}Expand description
Box display mode determining how a node lays out its children.
Variants§
Flex
Flexbox container layout (default for cross-platform consistency).
Block
Vertical block flow layout.
Grid
Multi-column CSS Grid-like layout.
None
Node is omitted from layout and painting.
Trait Implementations§
impl Copy for Display
impl Eq for Display
Source§impl Ord for Display
impl Ord for Display
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Display
impl PartialOrd 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