pub struct Doctype {
pub name: String,
pub public_id: Option<String>,
pub system_id: Option<String>,
pub internal_subset: Option<String>,
pub span: Span,
}Expand description
What the <!DOCTYPE> said.
Fields§
§name: StringThe document element’s name it gives.
public_id: Option<String>§system_id: Option<String>The external subset’s address. Parsec never reads it.
internal_subset: Option<String>The internal subset as written, without its brackets.
span: SpanTrait Implementations§
impl Eq for Doctype
impl StructuralPartialEq for Doctype
Auto Trait Implementations§
impl Forget for Doctype
impl Freeze for Doctype
impl Move for Doctype
impl RefUnwindSafe for Doctype
impl Send for Doctype
impl Sync for Doctype
impl Unpin for Doctype
impl UnsafeUnpin for Doctype
impl UnwindSafe for Doctype
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more