Struct rs_html_parser::ParserOptions
source · pub struct ParserOptions {
pub xml_mode: bool,
pub tokenizer_options: TokenizerOptions,
}
Fields§
§xml_mode: bool
Indicates whether special tags (<script>
, <style>
, 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: TokenizerOptions
Auto Trait Implementations§
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