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§
Source§impl Clone for TreeBuilderOpts
impl Clone for TreeBuilderOpts
Source§fn clone(&self) -> TreeBuilderOpts
fn clone(&self) -> TreeBuilderOpts
Returns a copy 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 Default for TreeBuilderOpts
impl Default for TreeBuilderOpts
Source§fn default() -> TreeBuilderOpts
fn default() -> TreeBuilderOpts
Returns the “default value” for a type. Read more
impl Copy for TreeBuilderOpts
Auto Trait Implementations§
impl Freeze for TreeBuilderOpts
impl RefUnwindSafe for TreeBuilderOpts
impl Send for TreeBuilderOpts
impl Sync for TreeBuilderOpts
impl Unpin for TreeBuilderOpts
impl UnwindSafe for TreeBuilderOpts
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