pub enum ListStylePositionStyleValue {
Inside(Ident),
Outside(Ident),
}Expand description
Represents the style value for list-style-position as defined in css-lists-3.
The list-style shorthand CSS property and the list-style-image, list-style-position, and list-style-type longhand properties set the position and appearance of a list item’s marker.
The grammar is defined as:
inside | outsideVariants§
Trait Implementations§
Source§impl Clone for ListStylePositionStyleValue
impl Clone for ListStylePositionStyleValue
Source§fn clone(&self) -> ListStylePositionStyleValue
fn clone(&self) -> ListStylePositionStyleValue
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 ListStylePositionStyleValue
impl Debug for ListStylePositionStyleValue
Source§impl Hash for ListStylePositionStyleValue
impl Hash for ListStylePositionStyleValue
Source§impl Ord for ListStylePositionStyleValue
impl Ord for ListStylePositionStyleValue
Source§fn cmp(&self, other: &ListStylePositionStyleValue) -> Ordering
fn cmp(&self, other: &ListStylePositionStyleValue) -> 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 ListStylePositionStyleValue
impl<'a> Parse<'a> for ListStylePositionStyleValue
Source§impl PartialOrd for ListStylePositionStyleValue
impl PartialOrd for ListStylePositionStyleValue
Source§impl<'a> Peek<'a> for ListStylePositionStyleValue
impl<'a> Peek<'a> for ListStylePositionStyleValue
Source§impl ToCursors for ListStylePositionStyleValue
impl ToCursors for ListStylePositionStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ListStylePositionStyleValue
impl StructuralPartialEq for ListStylePositionStyleValue
Auto Trait Implementations§
impl Freeze for ListStylePositionStyleValue
impl RefUnwindSafe for ListStylePositionStyleValue
impl Send for ListStylePositionStyleValue
impl Sync for ListStylePositionStyleValue
impl Unpin for ListStylePositionStyleValue
impl UnwindSafe for ListStylePositionStyleValue
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