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
sourceimpl Clone for DocumentType
impl Clone for DocumentType
sourcefn clone(&self) -> DocumentType
fn clone(&self) -> DocumentType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DocumentType
impl Debug for DocumentType
sourceimpl<'de> Deserialize<'de> for DocumentType
impl<'de> Deserialize<'de> for DocumentType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for DocumentType
impl EqIgnoreSpan for DocumentType
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<DocumentType> for Child
impl From<DocumentType> for Child
sourcefn from(v: DocumentType) -> Self
fn from(v: DocumentType) -> Self
Converts to this type from the input type.
sourceimpl Hash for DocumentType
impl Hash for DocumentType
sourceimpl PartialEq<DocumentType> for DocumentType
impl PartialEq<DocumentType> for DocumentType
sourcefn eq(&self, other: &DocumentType) -> bool
fn eq(&self, other: &DocumentType) -> bool
sourceimpl Serialize for DocumentType
impl Serialize for DocumentType
sourceimpl Spanned for DocumentType
impl Spanned for DocumentType
impl Eq for DocumentType
impl StructuralEq for DocumentType
impl StructuralPartialEq for DocumentType
Auto Trait Implementations
impl RefUnwindSafe for DocumentType
impl Send for DocumentType
impl Sync for DocumentType
impl Unpin for DocumentType
impl UnwindSafe for DocumentType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more