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