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