pub enum PortDeclaration {
Inout(Box<PortDeclarationInout>),
Input(Box<PortDeclarationInput>),
Output(Box<PortDeclarationOutput>),
Ref(Box<PortDeclarationRef>),
Interface(Box<PortDeclarationInterface>),
}
Variants§
Inout(Box<PortDeclarationInout>)
Input(Box<PortDeclarationInput>)
Output(Box<PortDeclarationOutput>)
Ref(Box<PortDeclarationRef>)
Interface(Box<PortDeclarationInterface>)
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) -> Self
fn from(x: &'a PortDeclaration) -> Self
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) -> Self
fn from(x: &'a PortDeclaration) -> Self
Converts to this type from the input type.
source§impl From<PortDeclaration> for AnyNode
impl From<PortDeclaration> for AnyNode
source§fn from(x: PortDeclaration) -> Self
fn from(x: PortDeclaration) -> Self
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 ==
.