pub enum TextModifier {
Value(ValueTextModifier),
Imperative(ImperativeTextModifier),
}Expand description
One unquoted-text modifier in declaration order. The value-only form is
convenient for pure serialized hooks; the imperative form exposes the
same live lexer/config state as the canonical ValModifier and also hands
Rust callers explicit rule/context references instead of hiding them on
the lexer object.
Variants§
Value(ValueTextModifier)
Imperative(ImperativeTextModifier)
Trait Implementations§
Source§impl Clone for TextModifier
impl Clone for TextModifier
Auto Trait Implementations§
impl !RefUnwindSafe for TextModifier
impl !UnwindSafe for TextModifier
impl Freeze for TextModifier
impl Send for TextModifier
impl Sync for TextModifier
impl Unpin for TextModifier
impl UnsafeUnpin for TextModifier
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