Enum sv_parser::PortDirection
source · pub enum PortDirection {
Input(Box<Keyword>),
Output(Box<Keyword>),
Inout(Box<Keyword>),
Ref(Box<Keyword>),
}
Variants§
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 for PortDirection
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a PortDirection> for Locate
impl<'a> TryFrom<&'a PortDirection> for Locate
source§impl TryFrom<AnyNode> for PortDirection
impl TryFrom<AnyNode> for PortDirection
source§impl TryFrom<PortDirection> for Locate
impl TryFrom<PortDirection> for Locate
impl StructuralPartialEq for PortDirection
Auto Trait Implementations§
impl RefUnwindSafe for PortDirection
impl Send for PortDirection
impl Sync for PortDirection
impl Unpin for PortDirection
impl UnwindSafe for PortDirection
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