pub enum ParamKind<'a> {
Type(Vec<ParamTypeDecl<'a>>),
Value(Vec<ParamValueDecl<'a>>),
}Variants§
Type(Vec<ParamTypeDecl<'a>>)
Value(Vec<ParamValueDecl<'a>>)
Trait Implementations§
Source§impl<'a> AcceptVisitor<'a> for ParamKind<'a>
impl<'a> AcceptVisitor<'a> for ParamKind<'a>
Source§impl<'a> ForEachChild<'a> for ParamKind<'a>
impl<'a> ForEachChild<'a> for ParamKind<'a>
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 ParamKind<'a>
impl<'a> ForEachNode<'a> for ParamKind<'a>
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 ParamKind<'a>
impl<'a> WalkVisitor<'a> for ParamKind<'a>
impl<'a> Eq for ParamKind<'a>
impl<'a> StructuralPartialEq for ParamKind<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParamKind<'a>
impl<'a> !RefUnwindSafe for ParamKind<'a>
impl<'a> Send for ParamKind<'a>
impl<'a> Sync for ParamKind<'a>
impl<'a> Unpin for ParamKind<'a>
impl<'a> !UnwindSafe for ParamKind<'a>
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