Enum llamapun::dnm::SpecialTagsOption
source · [−]pub enum SpecialTagsOption {
Enter,
Normalize(String),
FunctionNormalize(Arc<fn(_: RoNode) -> String>),
Skip,
}
Expand description
Specifies how to deal with a certain tag
Variants
Enter
Recurse into tag (default behaviour)
Normalize(String)
Normalize tag, replacing it by some token
FunctionNormalize(Arc<fn(_: RoNode) -> String>)
Normalize tag, obtain replacement string by function call
Skip
Skip tag
Trait Implementations
sourceimpl Clone for SpecialTagsOption
impl Clone for SpecialTagsOption
sourcefn clone(&self) -> SpecialTagsOption
fn clone(&self) -> SpecialTagsOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for SpecialTagsOption
impl Send for SpecialTagsOption
impl Sync for SpecialTagsOption
impl Unpin for SpecialTagsOption
impl UnwindSafe for SpecialTagsOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more