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

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.


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

Is scripting enabled?

Is this an iframe srcdoc document?

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

Obsolete, ignored.

Initial TreeBuilder quirks mode. Default: NoQuirks

Trait Implementations

impl Copy for TreeBuilderOpts

impl Clone for TreeBuilderOpts

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for TreeBuilderOpts

Returns the "default value" for a type. Read more