pub enum Symbol<'a> {
String(String),
Image(Image<'a>),
}Expand description
https://drafts.csswg.org/css-counter-styles-3/#funcdef-symbols
A single Symbol from the <symbols()> syntax
<string> | <image>Variants§
Trait Implementations§
Source§impl<'a> Ord for Symbol<'a>
impl<'a> Ord for Symbol<'a>
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> PartialOrd for Symbol<'a>
impl<'a> PartialOrd for Symbol<'a>
Source§impl<'a> ToCursors for Symbol<'a>
impl<'a> ToCursors for Symbol<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for Symbol<'a>
impl<'a> StructuralPartialEq for Symbol<'a>
Auto Trait Implementations§
impl<'a> Freeze for Symbol<'a>
impl<'a> !RefUnwindSafe for Symbol<'a>
impl<'a> !Send for Symbol<'a>
impl<'a> !Sync for Symbol<'a>
impl<'a> Unpin for Symbol<'a>
impl<'a> !UnwindSafe for Symbol<'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