pub enum Context {
General,
Attribute,
}
Available on crate features
unescape
or unescape_fast
only.Expand description
The context for an input string.
See unescape_in()
for usage.
Variants§
General
Anywhere outside of an HTML attribute, e.g. regular text. This is generally what you want.
Attribute
From an HTML attribute.
Trait Implementations§
source§impl PartialEq for Context
impl PartialEq for Context
impl Copy for Context
impl Eq for Context
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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