Struct html5tokenizer::token::AttributeTraceIdx
source · pub struct AttributeTraceIdx(pub NonZeroUsize);
Expand description
The index of an AttributeTrace
within an AttributeTraceList
.
Tuple Fields§
§0: NonZeroUsize
Trait Implementations§
source§impl Clone for AttributeTraceIdx
impl Clone for AttributeTraceIdx
source§fn clone(&self) -> AttributeTraceIdx
fn clone(&self) -> AttributeTraceIdx
Returns a copy 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 AttributeTraceIdx
impl Debug for AttributeTraceIdx
source§impl Index<AttributeTraceIdx> for AttributeTraceList
impl Index<AttributeTraceIdx> for AttributeTraceList
§type Output = AttributeTrace
type Output = AttributeTrace
The returned type after indexing.
source§impl PartialEq for AttributeTraceIdx
impl PartialEq for AttributeTraceIdx
source§fn eq(&self, other: &AttributeTraceIdx) -> bool
fn eq(&self, other: &AttributeTraceIdx) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AttributeTraceIdx
impl Eq for AttributeTraceIdx
impl StructuralEq for AttributeTraceIdx
impl StructuralPartialEq for AttributeTraceIdx
Auto Trait Implementations§
impl RefUnwindSafe for AttributeTraceIdx
impl Send for AttributeTraceIdx
impl Sync for AttributeTraceIdx
impl Unpin for AttributeTraceIdx
impl UnwindSafe for AttributeTraceIdx
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