Struct swc_xml_ast::ProcessingInstruction
source · pub struct ProcessingInstruction {
pub span: Span,
pub target: JsWord,
pub data: JsWord,
}Fields§
§span: Span§target: JsWord§data: JsWordTrait Implementations§
source§impl AstNode for ProcessingInstruction
impl AstNode for ProcessingInstruction
source§impl Clone for ProcessingInstruction
impl Clone for ProcessingInstruction
source§fn clone(&self) -> ProcessingInstruction
fn clone(&self) -> ProcessingInstruction
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 ProcessingInstruction
impl Debug for ProcessingInstruction
source§impl EqIgnoreSpan for ProcessingInstruction
impl EqIgnoreSpan for ProcessingInstruction
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<ProcessingInstruction> for Child
impl From<ProcessingInstruction> for Child
source§fn from(v: ProcessingInstruction) -> Self
fn from(v: ProcessingInstruction) -> Self
Converts to this type from the input type.
source§impl Hash for ProcessingInstruction
impl Hash for ProcessingInstruction
source§impl PartialEq for ProcessingInstruction
impl PartialEq for ProcessingInstruction
source§fn eq(&self, other: &ProcessingInstruction) -> bool
fn eq(&self, other: &ProcessingInstruction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Spanned for ProcessingInstruction
impl Spanned for ProcessingInstruction
impl Eq for ProcessingInstruction
impl StructuralPartialEq for ProcessingInstruction
Auto Trait Implementations§
impl Freeze for ProcessingInstruction
impl RefUnwindSafe for ProcessingInstruction
impl Send for ProcessingInstruction
impl Sync for ProcessingInstruction
impl Unpin for ProcessingInstruction
impl UnwindSafe for ProcessingInstruction
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more