Enum sv_parser::InputDeclaration
source · pub enum InputDeclaration {
Net(Box<InputDeclarationNet>),
Variable(Box<InputDeclarationVariable>),
}
Variants§
Net(Box<InputDeclarationNet>)
Variable(Box<InputDeclarationVariable>)
Trait Implementations§
source§impl Clone for InputDeclaration
impl Clone for InputDeclaration
source§fn clone(&self) -> InputDeclaration
fn clone(&self) -> InputDeclaration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InputDeclaration
impl Debug for InputDeclaration
source§impl<'a> From<&'a InputDeclaration> for RefNode<'a>
impl<'a> From<&'a InputDeclaration> for RefNode<'a>
source§fn from(x: &'a InputDeclaration) -> RefNode<'a>
fn from(x: &'a InputDeclaration) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a InputDeclaration> for RefNodes<'a>
impl<'a> From<&'a InputDeclaration> for RefNodes<'a>
source§fn from(x: &'a InputDeclaration) -> RefNodes<'a>
fn from(x: &'a InputDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<InputDeclaration> for AnyNode
impl From<InputDeclaration> for AnyNode
source§fn from(x: InputDeclaration) -> AnyNode
fn from(x: InputDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a InputDeclaration
impl<'a> IntoIterator for &'a InputDeclaration
source§impl PartialEq for InputDeclaration
impl PartialEq for InputDeclaration
source§fn eq(&self, other: &InputDeclaration) -> bool
fn eq(&self, other: &InputDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a InputDeclaration> for Locate
impl<'a> TryFrom<&'a InputDeclaration> for Locate
source§impl TryFrom<AnyNode> for InputDeclaration
impl TryFrom<AnyNode> for InputDeclaration
source§impl TryFrom<InputDeclaration> for Locate
impl TryFrom<InputDeclaration> for Locate
impl StructuralPartialEq for InputDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for InputDeclaration
impl Send for InputDeclaration
impl Sync for InputDeclaration
impl Unpin for InputDeclaration
impl UnwindSafe for InputDeclaration
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