Enum sv_parser::InterfaceItem
source · 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) -> RefNode<'a>
fn from(x: &'a InterfaceItem) -> RefNode<'a>
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) -> RefNodes<'a>
fn from(x: &'a InterfaceItem) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<InterfaceItem> for AnyNode
impl From<InterfaceItem> for AnyNode
source§fn from(x: InterfaceItem) -> AnyNode
fn from(x: InterfaceItem) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a InterfaceItem
impl<'a> IntoIterator for &'a InterfaceItem
source§impl PartialEq for InterfaceItem
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a InterfaceItem> for Locate
impl<'a> TryFrom<&'a InterfaceItem> for Locate
source§impl TryFrom<AnyNode> for InterfaceItem
impl TryFrom<AnyNode> for InterfaceItem
source§impl TryFrom<InterfaceItem> for Locate
impl TryFrom<InterfaceItem> for Locate
impl StructuralPartialEq for InterfaceItem
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceItem
impl Send for InterfaceItem
impl Sync for InterfaceItem
impl Unpin for InterfaceItem
impl UnwindSafe for InterfaceItem
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