Enum sv_parser::PortDeclaration
source · pub enum PortDeclaration {
Inout(Box<PortDeclarationInout, Global>),
Input(Box<PortDeclarationInput, Global>),
Output(Box<PortDeclarationOutput, Global>),
Ref(Box<PortDeclarationRef, Global>),
Interface(Box<PortDeclarationInterface, Global>),
}
Variants§
Inout(Box<PortDeclarationInout, Global>)
Input(Box<PortDeclarationInput, Global>)
Output(Box<PortDeclarationOutput, Global>)
Ref(Box<PortDeclarationRef, Global>)
Interface(Box<PortDeclarationInterface, Global>)
Trait Implementations§
source§impl Clone for PortDeclaration
impl Clone for PortDeclaration
source§fn clone(&self) -> PortDeclaration
fn clone(&self) -> PortDeclaration
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 PortDeclaration
impl Debug for PortDeclaration
source§impl<'a> From<&'a PortDeclaration> for RefNode<'a>
impl<'a> From<&'a PortDeclaration> for RefNode<'a>
source§fn from(x: &'a PortDeclaration) -> RefNode<'a>
fn from(x: &'a PortDeclaration) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a PortDeclaration> for RefNodes<'a>
impl<'a> From<&'a PortDeclaration> for RefNodes<'a>
source§fn from(x: &'a PortDeclaration) -> RefNodes<'a>
fn from(x: &'a PortDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<PortDeclaration> for AnyNode
impl From<PortDeclaration> for AnyNode
source§fn from(x: PortDeclaration) -> AnyNode
fn from(x: PortDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a PortDeclaration
impl<'a> IntoIterator for &'a PortDeclaration
source§impl PartialEq<PortDeclaration> for PortDeclaration
impl PartialEq<PortDeclaration> for PortDeclaration
source§fn eq(&self, other: &PortDeclaration) -> bool
fn eq(&self, other: &PortDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.