pub enum DisplayLegacy {
InlineBlock(Ident),
InlineTable(Ident),
InlineFlex(Ident),
InlineGrid(Ident),
}Expand description
https://drafts.csswg.org/css-display-4/#typedef-display-legacy
<display-box> = inline-block | inline-table | inline-flex | inline-gridVariants§
Trait Implementations§
Source§impl Clone for DisplayLegacy
impl Clone for DisplayLegacy
Source§fn clone(&self) -> DisplayLegacy
fn clone(&self) -> DisplayLegacy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DisplayLegacy
impl Debug for DisplayLegacy
Source§impl From<DisplayLegacy> for Cursor
impl From<DisplayLegacy> for Cursor
Source§fn from(value: DisplayLegacy) -> Cursor
fn from(value: DisplayLegacy) -> Cursor
Converts to this type from the input type.
Source§impl From<DisplayLegacy> for Token
impl From<DisplayLegacy> for Token
Source§fn from(value: DisplayLegacy) -> Token
fn from(value: DisplayLegacy) -> Token
Converts to this type from the input type.
Source§impl Hash for DisplayLegacy
impl Hash for DisplayLegacy
Source§impl Ord for DisplayLegacy
impl Ord for DisplayLegacy
Source§fn cmp(&self, other: &DisplayLegacy) -> Ordering
fn cmp(&self, other: &DisplayLegacy) -> Ordering
1.21.0 · 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
Source§impl<'a> Parse<'a> for DisplayLegacy
impl<'a> Parse<'a> for DisplayLegacy
Source§impl PartialEq for DisplayLegacy
impl PartialEq for DisplayLegacy
Source§impl PartialOrd for DisplayLegacy
impl PartialOrd for DisplayLegacy
Source§impl<'a> Peek<'a> for DisplayLegacy
impl<'a> Peek<'a> for DisplayLegacy
Source§impl SemanticEq for DisplayLegacy
impl SemanticEq for DisplayLegacy
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for DisplayLegacy
impl ToCursors for DisplayLegacy
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for DisplayLegacy
impl Eq for DisplayLegacy
impl StructuralPartialEq for DisplayLegacy
Auto Trait Implementations§
impl Freeze for DisplayLegacy
impl RefUnwindSafe for DisplayLegacy
impl Send for DisplayLegacy
impl Sync for DisplayLegacy
impl Unpin for DisplayLegacy
impl UnwindSafe for DisplayLegacy
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