Struct html5ever::tokenizer::Doctype
[−]
[src]
pub struct Doctype { pub name: Option<StrTendril>, pub public_id: Option<StrTendril>, pub system_id: Option<StrTendril>, pub force_quirks: bool, }
A DOCTYPE
token.
Fields
name: Option<StrTendril>
public_id: Option<StrTendril>
system_id: Option<StrTendril>
force_quirks: bool
Methods
impl Doctype
[src]
Trait Implementations
impl PartialEq for Doctype
[src]
fn eq(&self, __arg_0: &Doctype) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Doctype) -> bool
This method tests for !=
.
impl Eq for Doctype
[src]
impl Clone for Doctype
[src]
fn clone(&self) -> Doctype
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more