pub enum Special {
Tokenize,
Plaintext,
}
Expand description
How to determine if we should tokenize special tokens
Variants§
Tokenize
Allow tokenizing special and/or control tokens which otherwise are not exposed and treated as plaintext. Does not insert a leading space.
Plaintext
Treat special and/or control tokens as plaintext.
Trait Implementations§
impl Copy for Special
impl Eq for Special
impl StructuralPartialEq for Special
Auto Trait Implementations§
impl Freeze for Special
impl RefUnwindSafe for Special
impl Send for Special
impl Sync for Special
impl Unpin for Special
impl UnwindSafe for Special
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