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