pub struct Doctype<'a> {
pub name: Option<Cow<'a, str>>,
pub public_id: Option<Cow<'a, str>>,
pub system_id: Option<Cow<'a, str>>,
pub force_quirks: bool,
}Expand description
A document type declaration.
Fields§
§name: Option<Cow<'a, str>>The ASCII-lowercase name, if present.
public_id: Option<Cow<'a, str>>The public identifier, if present.
system_id: Option<Cow<'a, str>>The system identifier, if present.
force_quirks: boolWhether the declaration requires quirks mode.
Trait Implementations§
impl<'a> Eq for Doctype<'a>
impl<'a> StructuralPartialEq for Doctype<'a>
Auto Trait Implementations§
impl<'a> Freeze for Doctype<'a>
impl<'a> RefUnwindSafe for Doctype<'a>
impl<'a> Send for Doctype<'a>
impl<'a> Sync for Doctype<'a>
impl<'a> Unpin for Doctype<'a>
impl<'a> UnsafeUnpin for Doctype<'a>
impl<'a> UnwindSafe for Doctype<'a>
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