pub enum DisplayOutside {
Block(Ident),
Inline(Ident),
RunIn(Ident),
}Expand description
https://drafts.csswg.org/css-display-4/#typedef-display-outside
<display-outside> = block | inline | run-inVariants§
Trait Implementations§
Source§impl Clone for DisplayOutside
impl Clone for DisplayOutside
Source§fn clone(&self) -> DisplayOutside
fn clone(&self) -> DisplayOutside
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 DisplayOutside
impl Debug for DisplayOutside
Source§impl From<DisplayOutside> for Cursor
impl From<DisplayOutside> for Cursor
Source§fn from(value: DisplayOutside) -> Cursor
fn from(value: DisplayOutside) -> Cursor
Converts to this type from the input type.
Source§impl From<DisplayOutside> for Token
impl From<DisplayOutside> for Token
Source§fn from(value: DisplayOutside) -> Token
fn from(value: DisplayOutside) -> Token
Converts to this type from the input type.
Source§impl Hash for DisplayOutside
impl Hash for DisplayOutside
Source§impl NodeWithMetadata<CssMetadata> for DisplayOutside
impl NodeWithMetadata<CssMetadata> for DisplayOutside
Source§fn self_metadata(&self) -> CssMetadata
fn self_metadata(&self) -> CssMetadata
Returns the metadata contributed by this node itself, not including children.
Most nodes don’t contribute metadata, so can simply return
M::default().
Nodes like StyleRule or AtRules should return their own node kind flags here.Source§fn metadata(&self) -> CssMetadata
fn metadata(&self) -> CssMetadata
Returns the complete aggregated metadata for this node (self + children).
Default implementation merges children’s metadata with self_metadata().
Source§impl Ord for DisplayOutside
impl Ord for DisplayOutside
Source§fn cmp(&self, other: &DisplayOutside) -> Ordering
fn cmp(&self, other: &DisplayOutside) -> 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 DisplayOutside
impl<'a> Parse<'a> for DisplayOutside
Source§impl PartialEq for DisplayOutside
impl PartialEq for DisplayOutside
Source§impl PartialOrd for DisplayOutside
impl PartialOrd for DisplayOutside
Source§impl<'a> Peek<'a> for DisplayOutside
impl<'a> Peek<'a> for DisplayOutside
Source§impl SemanticEq for DisplayOutside
impl SemanticEq for DisplayOutside
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 DisplayOutside
impl ToCursors for DisplayOutside
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for DisplayOutside
impl Eq for DisplayOutside
impl StructuralPartialEq for DisplayOutside
Auto Trait Implementations§
impl Freeze for DisplayOutside
impl RefUnwindSafe for DisplayOutside
impl Send for DisplayOutside
impl Sync for DisplayOutside
impl Unpin for DisplayOutside
impl UnwindSafe for DisplayOutside
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