pub enum Target<'a> {
TargetCounter(TargetCounterFunction<'a>),
TargetCounters(TargetCountersFunction<'a>),
TargetText(TargetTextFunction),
}Expand description
https://drafts.csswg.org/css-content-3/#typedef-target
<target> = <target-counter()> | <target-counters()> | <target-text()>Variants§
TargetCounter(TargetCounterFunction<'a>)
TargetCounters(TargetCountersFunction<'a>)
TargetText(TargetTextFunction)
Trait Implementations§
Source§impl<'a> Ord for Target<'a>
impl<'a> Ord for Target<'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 Target<'a>
impl<'a> PartialOrd for Target<'a>
Source§impl<'a> ToCursors for Target<'a>
impl<'a> ToCursors for Target<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for Target<'a>
impl<'a> StructuralPartialEq for Target<'a>
Auto Trait Implementations§
impl<'a> Freeze for Target<'a>
impl<'a> !RefUnwindSafe for Target<'a>
impl<'a> !Send for Target<'a>
impl<'a> !Sync for Target<'a>
impl<'a> Unpin for Target<'a>
impl<'a> !UnwindSafe for Target<'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