#[repr(u32)]pub enum TidyDoctypeModes {
Html5 = 0,
Omit = 1,
Auto = 2,
Strict = 3,
Loose = 4,
User = 5,
}Expand description
Mode controlling treatment of doctype @remark This enum’s starting value is guaranteed to remain stable.
Variants§
Html5 = 0
<
Omit = 1
< Omit DOCTYPE altogether
Auto = 2
< Keep DOCTYPE in input. Set version to content
Strict = 3
< Convert document to HTML 4 strict content model
Loose = 4
< Convert document to HTML 4 transitional content model
User = 5
< Set DOCTYPE FPI explicitly
Trait Implementations§
Source§impl Clone for TidyDoctypeModes
impl Clone for TidyDoctypeModes
Source§fn clone(&self) -> TidyDoctypeModes
fn clone(&self) -> TidyDoctypeModes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TidyDoctypeModes
impl Debug for TidyDoctypeModes
Source§impl Hash for TidyDoctypeModes
impl Hash for TidyDoctypeModes
Source§impl PartialEq for TidyDoctypeModes
impl PartialEq for TidyDoctypeModes
impl Copy for TidyDoctypeModes
impl Eq for TidyDoctypeModes
impl StructuralPartialEq for TidyDoctypeModes
Auto Trait Implementations§
impl Freeze for TidyDoctypeModes
impl RefUnwindSafe for TidyDoctypeModes
impl Send for TidyDoctypeModes
impl Sync for TidyDoctypeModes
impl Unpin for TidyDoctypeModes
impl UnwindSafe for TidyDoctypeModes
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