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