Struct xml5ever::tokenizer::Doctype [−][src]
pub struct Doctype {
pub name: Option<StrTendril>,
pub public_id: Option<StrTendril>,
pub system_id: Option<StrTendril>,
}
Expand description
A DOCTYPE
token.
Doctype token in XML5 is rather limited for reasons, such as:
security and simplicity. XML5 only supports declaring DTD with
name, public identifier and system identifier
Fields
name: Option<StrTendril>
Name of DOCTYPE declared
public_id: Option<StrTendril>
Public identifier of this DOCTYPE.
system_id: Option<StrTendril>
System identifier of this DOCTYPE.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Doctype
impl UnwindSafe for Doctype
Blanket Implementations
Mutably borrows from an owned value. Read more