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