Enum script::dom::element::ElementCreator
source · pub enum ElementCreator {
ParserCreated(u64),
ScriptCreated,
}
Variants§
Implementations§
source§impl ElementCreator
impl ElementCreator
pub fn is_parser_created(&self) -> bool
pub fn return_line_number(&self) -> u64
Trait Implementations§
source§impl MallocSizeOf for ElementCreator
impl MallocSizeOf for ElementCreator
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq<ElementCreator> for ElementCreator
impl PartialEq<ElementCreator> for ElementCreator
source§fn eq(&self, other: &ElementCreator) -> bool
fn eq(&self, other: &ElementCreator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ElementCreator
Auto Trait Implementations§
impl RefUnwindSafe for ElementCreator
impl Send for ElementCreator
impl Sync for ElementCreator
impl Unpin for ElementCreator
impl UnwindSafe for ElementCreator
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert