[][src]Struct html5ever::tree_builder::TreeBuilderOpts

pub struct TreeBuilderOpts {
    pub exact_errors: bool,
    pub scripting_enabled: bool,
    pub iframe_srcdoc: bool,
    pub drop_doctype: bool,
    pub ignore_missing_rules: bool,
    pub quirks_mode: QuirksMode,
}

Tree builder options, with an impl for Default.

Fields

exact_errors: bool

Report all parse errors described in the spec, at some performance penalty? Default: false

scripting_enabled: bool

Is scripting enabled?

iframe_srcdoc: bool

Is this an iframe srcdoc document?

drop_doctype: bool

Should we drop the DOCTYPE (if any) from the tree?

ignore_missing_rules: bool

Obsolete, ignored.

quirks_mode: QuirksMode

Initial TreeBuilder quirks mode. Default: NoQuirks

Trait Implementations

impl Default for TreeBuilderOpts[src]

impl Clone for TreeBuilderOpts[src]

impl Copy for TreeBuilderOpts[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]