pub struct ParserOptions {
pub xml_mode: bool,
pub tokenizer_options: TokenizerOptions,
}Fields§
§xml_mode: boolIndicates whether special tags (<script>, <style>, <textarea> and <title>) should get special treatment
and if “empty” tags (eg. <br>) can have children. If false, the content of special tags
will be text only. For feeds and other XML content (documents that don’t consist of HTML),
set self to true.
@default false
tokenizer_options: TokenizerOptionsAuto Trait Implementations§
impl Freeze for ParserOptions
impl RefUnwindSafe for ParserOptions
impl Send for ParserOptions
impl Sync for ParserOptions
impl Unpin for ParserOptions
impl UnwindSafe for ParserOptions
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