pub struct ListStyleImageStyleValue<'a>(pub NoneOr<Image<'a>>);Expand description
Represents the style value for list-style-image 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:
<image> | noneTuple Fields§
§0: NoneOr<Image<'a>>Trait Implementations§
Source§impl<'a> Clone for ListStyleImageStyleValue<'a>
impl<'a> Clone for ListStyleImageStyleValue<'a>
Source§fn clone(&self) -> ListStyleImageStyleValue<'a>
fn clone(&self) -> ListStyleImageStyleValue<'a>
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<'a> Debug for ListStyleImageStyleValue<'a>
impl<'a> Debug for ListStyleImageStyleValue<'a>
Source§impl<'a> Hash for ListStyleImageStyleValue<'a>
impl<'a> Hash for ListStyleImageStyleValue<'a>
Source§impl<'a> Ord for ListStyleImageStyleValue<'a>
impl<'a> Ord for ListStyleImageStyleValue<'a>
Source§fn cmp(&self, other: &ListStyleImageStyleValue<'a>) -> Ordering
fn cmp(&self, other: &ListStyleImageStyleValue<'a>) -> 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 ListStyleImageStyleValue<'a>
impl<'a> Parse<'a> for ListStyleImageStyleValue<'a>
Source§impl<'a> PartialEq for ListStyleImageStyleValue<'a>
impl<'a> PartialEq for ListStyleImageStyleValue<'a>
Source§fn eq(&self, other: &ListStyleImageStyleValue<'a>) -> bool
fn eq(&self, other: &ListStyleImageStyleValue<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> PartialOrd for ListStyleImageStyleValue<'a>
impl<'a> PartialOrd for ListStyleImageStyleValue<'a>
Source§impl<'a> Peek<'a> for ListStyleImageStyleValue<'a>
impl<'a> Peek<'a> for ListStyleImageStyleValue<'a>
Source§impl<'a> ToCursors for ListStyleImageStyleValue<'a>
impl<'a> ToCursors for ListStyleImageStyleValue<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for ListStyleImageStyleValue<'a>
impl<'a> StructuralPartialEq for ListStyleImageStyleValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListStyleImageStyleValue<'a>
impl<'a> !RefUnwindSafe for ListStyleImageStyleValue<'a>
impl<'a> !Send for ListStyleImageStyleValue<'a>
impl<'a> !Sync for ListStyleImageStyleValue<'a>
impl<'a> Unpin for ListStyleImageStyleValue<'a>
impl<'a> !UnwindSafe for ListStyleImageStyleValue<'a>
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