Struct html5ever::tree_builder::TreeBuilderOpts
source · 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,
}
Expand description
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
sourceimpl Clone for TreeBuilderOpts
impl Clone for TreeBuilderOpts
sourcefn clone(&self) -> TreeBuilderOpts
fn clone(&self) -> TreeBuilderOpts
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for TreeBuilderOpts
impl Default for TreeBuilderOpts
sourcefn default() -> TreeBuilderOpts
fn default() -> TreeBuilderOpts
Returns the “default value” for a type. Read more
impl Copy for TreeBuilderOpts
Auto Trait Implementations
impl RefUnwindSafe for TreeBuilderOpts
impl Send for TreeBuilderOpts
impl Sync for TreeBuilderOpts
impl Unpin for TreeBuilderOpts
impl UnwindSafe for TreeBuilderOpts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more