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