#[non_exhaustive]pub enum ListStyleImage {
None,
Url(Url),
Raw(Raw),
}Expand description
A value of list-style-image.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ListStyleImage
impl Clone for ListStyleImage
Source§fn clone(&self) -> ListStyleImage
fn clone(&self) -> ListStyleImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListStyleImage
impl Debug for ListStyleImage
Source§impl Display for ListStyleImage
impl Display for ListStyleImage
Source§impl From<Raw> for ListStyleImage
impl From<Raw> for ListStyleImage
Source§impl From<Url> for ListStyleImage
impl From<Url> for ListStyleImage
Source§impl PartialEq for ListStyleImage
impl PartialEq for ListStyleImage
impl StructuralPartialEq for ListStyleImage
Auto Trait Implementations§
impl Freeze for ListStyleImage
impl RefUnwindSafe for ListStyleImage
impl Send for ListStyleImage
impl Sync for ListStyleImage
impl Unpin for ListStyleImage
impl UnsafeUnpin for ListStyleImage
impl UnwindSafe for ListStyleImage
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