pub enum OverlayStyleValue {
None(Ident),
Auto(Ident),
}Expand description
Represents the style value for overlay as defined in css-position-4.
The overlay CSS property, used as an allow-discrete CSS transition, prevents a top layer element, such as a popover or a
The grammar is defined as:
none | autoVariants§
Trait Implementations§
Source§impl Clone for OverlayStyleValue
impl Clone for OverlayStyleValue
Source§fn clone(&self) -> OverlayStyleValue
fn clone(&self) -> OverlayStyleValue
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 OverlayStyleValue
impl Debug for OverlayStyleValue
Source§impl Hash for OverlayStyleValue
impl Hash for OverlayStyleValue
Source§impl Ord for OverlayStyleValue
impl Ord for OverlayStyleValue
Source§fn cmp(&self, other: &OverlayStyleValue) -> Ordering
fn cmp(&self, other: &OverlayStyleValue) -> 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 OverlayStyleValue
impl<'a> Parse<'a> for OverlayStyleValue
Source§impl PartialEq for OverlayStyleValue
impl PartialEq for OverlayStyleValue
Source§impl PartialOrd for OverlayStyleValue
impl PartialOrd for OverlayStyleValue
Source§impl<'a> Peek<'a> for OverlayStyleValue
impl<'a> Peek<'a> for OverlayStyleValue
Source§impl ToCursors for OverlayStyleValue
impl ToCursors for OverlayStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OverlayStyleValue
impl StructuralPartialEq for OverlayStyleValue
Auto Trait Implementations§
impl Freeze for OverlayStyleValue
impl RefUnwindSafe for OverlayStyleValue
impl Send for OverlayStyleValue
impl Sync for OverlayStyleValue
impl Unpin for OverlayStyleValue
impl UnwindSafe for OverlayStyleValue
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