#[non_exhaustive]pub enum Display {
Show 29 variants
Block,
Contents,
Flex,
Flow,
FlowRoot,
Grid,
Inline,
InlineBlock,
InlineFlex,
InlineGrid,
InlineListItem,
InlineTable,
None,
Ruby,
RubyBase,
RubyBaseContainer,
RubyText,
RubyTextContainer,
RunIn,
Table,
TableCaption,
TableCell,
TableColumn,
TableColumnGroup,
TableFooterGroup,
TableHeaderGroup,
TableRow,
TableRowGroup,
Raw(Raw),
}Expand description
A value of display.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Block
block.
Contents
contents.
Flex
flex.
Flow
flow.
FlowRoot
flow-root.
Grid
grid.
Inline
inline.
InlineBlock
inline-block.
InlineFlex
inline-flex.
InlineGrid
inline-grid.
InlineListItem
inline-list-item.
InlineTable
inline-table.
None
none.
Ruby
ruby.
RubyBase
ruby-base.
RubyBaseContainer
ruby-base-container.
RubyText
ruby-text.
RubyTextContainer
ruby-text-container.
RunIn
run-in.
Table
table.
TableCaption
table-caption.
TableCell
table-cell.
TableColumn
table-column.
TableColumnGroup
table-column-group.
table-footer-group.
TableHeaderGroup
table-header-group.
TableRow
table-row.
TableRowGroup
table-row-group.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
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 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