Struct swc_visit::Optional [−][src]
pub struct Optional<V> { pub enabled: bool, pub visitor: V, }
Expand description
A visitor which visits node only if enabled
is true.
Fields
enabled: bool
visitor: V
Implementations
Trait Implementations
Auto Trait Implementations
impl<V> RefUnwindSafe for Optional<V> where
V: RefUnwindSafe,
impl<V> UnwindSafe for Optional<V> where
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more