pub enum ModuleItem {
PortDeclaration(Box<(PortDeclaration, Symbol)>),
NonPortModuleItem(Box<NonPortModuleItem>),
}Variants
PortDeclaration(Box<(PortDeclaration, Symbol)>)
NonPortModuleItem(Box<NonPortModuleItem>)
Trait Implementations
sourceimpl Clone for ModuleItem
impl Clone for ModuleItem
sourcefn clone(&self) -> ModuleItem
fn clone(&self) -> ModuleItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ModuleItem
impl Debug for ModuleItem
sourceimpl<'a> From<&'a ModuleItem> for RefNodes<'a>
impl<'a> From<&'a ModuleItem> for RefNodes<'a>
sourcefn from(x: &'a ModuleItem) -> Self
fn from(x: &'a ModuleItem) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ModuleItem> for RefNode<'a>
impl<'a> From<&'a ModuleItem> for RefNode<'a>
sourcefn from(x: &'a ModuleItem) -> Self
fn from(x: &'a ModuleItem) -> Self
Converts to this type from the input type.
sourceimpl From<ModuleItem> for AnyNode
impl From<ModuleItem> for AnyNode
sourcefn from(x: ModuleItem) -> Self
fn from(x: ModuleItem) -> Self
Converts to this type from the input type.
sourceimpl<'a> IntoIterator for &'a ModuleItem
impl<'a> IntoIterator for &'a ModuleItem
sourceimpl PartialEq<ModuleItem> for ModuleItem
impl PartialEq<ModuleItem> for ModuleItem
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ModuleItem) -> bool
fn ne(&self, other: &ModuleItem) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a ModuleItem> for Locate
impl<'a> TryFrom<&'a ModuleItem> for Locate
sourceimpl TryFrom<AnyNode> for ModuleItem
impl TryFrom<AnyNode> for ModuleItem
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more