pub enum QuirksMode {
NoQuirks,
LimitedQuirks,
Quirks,
}Expand description
HTML5 quirks-mode flag set from the DOCTYPE. Only meaningful for HTML
documents; XML documents always carry None for Document::html_metadata.
Variants§
Trait Implementations§
Source§impl Clone for QuirksMode
impl Clone for QuirksMode
Source§fn clone(&self) -> QuirksMode
fn clone(&self) -> QuirksMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QuirksMode
Source§impl Debug for QuirksMode
impl Debug for QuirksMode
impl Eq for QuirksMode
Source§impl PartialEq for QuirksMode
impl PartialEq for QuirksMode
Source§fn eq(&self, other: &QuirksMode) -> bool
fn eq(&self, other: &QuirksMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QuirksMode
Auto Trait Implementations§
impl Freeze for QuirksMode
impl RefUnwindSafe for QuirksMode
impl Send for QuirksMode
impl Sync for QuirksMode
impl Unpin for QuirksMode
impl UnsafeUnpin for QuirksMode
impl UnwindSafe for QuirksMode
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