Struct swc_xml_ast::CdataSection
source · pub struct CdataSection {
pub span: Span,
pub data: JsWord,
pub raw: Option<JsWord>,
}
Fields§
§span: Span
§data: JsWord
§raw: Option<JsWord>
Trait Implementations§
source§impl Clone for CdataSection
impl Clone for CdataSection
source§fn clone(&self) -> CdataSection
fn clone(&self) -> CdataSection
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 CdataSection
impl Debug for CdataSection
source§impl EqIgnoreSpan for CdataSection
impl EqIgnoreSpan for CdataSection
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<CdataSection> for Child
impl From<CdataSection> for Child
source§fn from(v: CdataSection) -> Self
fn from(v: CdataSection) -> Self
Converts to this type from the input type.
source§impl Hash for CdataSection
impl Hash for CdataSection
source§impl PartialEq<CdataSection> for CdataSection
impl PartialEq<CdataSection> for CdataSection
source§fn eq(&self, other: &CdataSection) -> bool
fn eq(&self, other: &CdataSection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.