pub enum VarKind {
Var,
Net {
ty: NetType,
kind: NetKind,
},
}Expand description
Whether a declaration is a variable or a net.
Variants§
Implementations§
Trait Implementations§
Source§impl<'a> AcceptVisitor<'a> for VarKind
impl<'a> AcceptVisitor<'a> for VarKind
Source§impl<'a> ForEachChild<'a> for VarKind
impl<'a> ForEachChild<'a> for VarKind
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 VarKind
impl<'a> ForEachNode<'a> for VarKind
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 VarKind
impl<'a> WalkVisitor<'a> for VarKind
impl Copy for VarKind
impl Eq for VarKind
impl StructuralPartialEq for VarKind
Auto Trait Implementations§
impl Freeze for VarKind
impl RefUnwindSafe for VarKind
impl Send for VarKind
impl Sync for VarKind
impl Unpin for VarKind
impl UnwindSafe for VarKind
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