pub enum TextKind {
Whitespace,
Character,
CData,
}Expand description
How a text/CDATA event was dispatched into the runtime.
Variants§
Whitespace
Event::Text whose unescaped content is all whitespace —
forwarded to runtime.validate_whitespace.
Character
Event::Text with non-whitespace content —
forwarded to runtime.validate_text.
CData
Event::CData — always forwarded to runtime.validate_text.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextKind
impl RefUnwindSafe for TextKind
impl Send for TextKind
impl Sync for TextKind
impl Unpin for TextKind
impl UnsafeUnpin for TextKind
impl UnwindSafe for TextKind
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