pub enum OverflowXStyleValue {
Visible(Ident),
Hidden(Ident),
Clip(Ident),
Scroll(Ident),
Auto(Ident),
}Expand description
Represents the style value for overflow-x as defined in css-overflow-5.
The overflow CSS property sets the behavior for when content doesn’t fit in an element.
The grammar is defined as:
visible | hidden | clip | scroll | autoVariants§
Trait Implementations§
Source§impl Clone for OverflowXStyleValue
impl Clone for OverflowXStyleValue
Source§fn clone(&self) -> OverflowXStyleValue
fn clone(&self) -> OverflowXStyleValue
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 OverflowXStyleValue
impl Debug for OverflowXStyleValue
Source§impl Hash for OverflowXStyleValue
impl Hash for OverflowXStyleValue
Source§impl Ord for OverflowXStyleValue
impl Ord for OverflowXStyleValue
Source§fn cmp(&self, other: &OverflowXStyleValue) -> Ordering
fn cmp(&self, other: &OverflowXStyleValue) -> 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 OverflowXStyleValue
impl<'a> Parse<'a> for OverflowXStyleValue
Source§impl PartialEq for OverflowXStyleValue
impl PartialEq for OverflowXStyleValue
Source§impl PartialOrd for OverflowXStyleValue
impl PartialOrd for OverflowXStyleValue
Source§impl<'a> Peek<'a> for OverflowXStyleValue
impl<'a> Peek<'a> for OverflowXStyleValue
Source§impl ToCursors for OverflowXStyleValue
impl ToCursors for OverflowXStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OverflowXStyleValue
impl StructuralPartialEq for OverflowXStyleValue
Auto Trait Implementations§
impl Freeze for OverflowXStyleValue
impl RefUnwindSafe for OverflowXStyleValue
impl Send for OverflowXStyleValue
impl Sync for OverflowXStyleValue
impl Unpin for OverflowXStyleValue
impl UnwindSafe for OverflowXStyleValue
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