pub enum CaseMode {
Normal,
Inside,
Pattern,
}Variants§
Trait Implementations§
Source§impl<'a> AcceptVisitor<'a> for CaseMode
impl<'a> AcceptVisitor<'a> for CaseMode
Source§impl<'a> ForEachChild<'a> for CaseMode
impl<'a> ForEachChild<'a> for CaseMode
Source§fn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
fn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
Apply a function to each child node.
Source§impl<'a> ForEachNode<'a> for CaseMode
impl<'a> ForEachNode<'a> for CaseMode
Source§fn for_each_node(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
fn for_each_node(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
Apply a function to this node.
Source§impl<'a> WalkVisitor<'a> for CaseMode
impl<'a> WalkVisitor<'a> for CaseMode
impl Copy for CaseMode
impl Eq for CaseMode
impl StructuralPartialEq for CaseMode
Auto Trait Implementations§
impl Freeze for CaseMode
impl RefUnwindSafe for CaseMode
impl Send for CaseMode
impl Sync for CaseMode
impl Unpin for CaseMode
impl UnwindSafe for CaseMode
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