pub enum TagTransform {
Apply,
Remove,
Keep,
}Expand description
How to transform matched tags in the output.
Variants§
Apply
Apply ANSI escape codes from the associated Style. Used for terminal output with color support.
Remove
Remove all tags, outputting only the content. Used for plain text output without styling.
Keep
Keep tags as-is in the output. Used for debug mode to visualize tag structure.
Trait Implementations§
Source§impl Clone for TagTransform
impl Clone for TagTransform
Source§fn clone(&self) -> TagTransform
fn clone(&self) -> TagTransform
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TagTransform
impl Debug for TagTransform
Source§impl PartialEq for TagTransform
impl PartialEq for TagTransform
impl Copy for TagTransform
impl Eq for TagTransform
impl StructuralPartialEq for TagTransform
Auto Trait Implementations§
impl Freeze for TagTransform
impl RefUnwindSafe for TagTransform
impl Send for TagTransform
impl Sync for TagTransform
impl Unpin for TagTransform
impl UnwindSafe for TagTransform
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