pub enum TextMode {
Rcdata,
Rawtext,
ScriptData,
Plaintext,
Cdata,
}Expand description
What the tree builder can ask the tokenizer to read next, after a start
tag such as <title> or <script>.
Variants§
Rcdata
Rawtext
ScriptData
Plaintext
Cdata
Only for starting a tokenizer in this state, as the tokenizer tests
do; the tree builder reaches it through cdata_allowed.
Trait Implementations§
impl Copy for TextMode
impl Eq for TextMode
impl StructuralPartialEq for TextMode
Auto Trait Implementations§
impl Forget for TextMode
impl Freeze for TextMode
impl Move for TextMode
impl RefUnwindSafe for TextMode
impl Send for TextMode
impl Sync for TextMode
impl Unpin for TextMode
impl UnsafeUnpin for TextMode
impl UnwindSafe for TextMode
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