pub enum OverflowBlockStyleValue {
Visible(Ident),
Hidden(Ident),
Clip(Ident),
Scroll(Ident),
Auto(Ident),
}Expand description
Represents the style value for overflow-block as defined in css-overflow-5.
CSS logical properties control borders, size, margin, and padding with directions and dimensions relative to the writing mode. For example, in a left to right, top to bottom writing mode, block-end refers to the bottom. Also known as flow relative.
The grammar is defined as:
visible | hidden | clip | scroll | autoVariants§
Trait Implementations§
Source§impl Clone for OverflowBlockStyleValue
impl Clone for OverflowBlockStyleValue
Source§fn clone(&self) -> OverflowBlockStyleValue
fn clone(&self) -> OverflowBlockStyleValue
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 OverflowBlockStyleValue
impl Debug for OverflowBlockStyleValue
Source§impl Hash for OverflowBlockStyleValue
impl Hash for OverflowBlockStyleValue
Source§impl Ord for OverflowBlockStyleValue
impl Ord for OverflowBlockStyleValue
Source§fn cmp(&self, other: &OverflowBlockStyleValue) -> Ordering
fn cmp(&self, other: &OverflowBlockStyleValue) -> 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 OverflowBlockStyleValue
impl<'a> Parse<'a> for OverflowBlockStyleValue
Source§impl PartialEq for OverflowBlockStyleValue
impl PartialEq for OverflowBlockStyleValue
Source§impl PartialOrd for OverflowBlockStyleValue
impl PartialOrd for OverflowBlockStyleValue
Source§impl<'a> Peek<'a> for OverflowBlockStyleValue
impl<'a> Peek<'a> for OverflowBlockStyleValue
Source§impl ToCursors for OverflowBlockStyleValue
impl ToCursors for OverflowBlockStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OverflowBlockStyleValue
impl StructuralPartialEq for OverflowBlockStyleValue
Auto Trait Implementations§
impl Freeze for OverflowBlockStyleValue
impl RefUnwindSafe for OverflowBlockStyleValue
impl Send for OverflowBlockStyleValue
impl Sync for OverflowBlockStyleValue
impl Unpin for OverflowBlockStyleValue
impl UnwindSafe for OverflowBlockStyleValue
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