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