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