Enum html5tokenizer::State
source · #[non_exhaustive]pub enum State {
Data,
Plaintext,
Rcdata,
Rawtext,
ScriptData,
}
Expand description
The states you can set the tokenizer to.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Data
The data state.
Plaintext
The PLAINTEXT state.
Rcdata
The RCDATA state.
Rawtext
The RAWTEXT state.
ScriptData
The script data state.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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