Enum sv_parser::TypeDeclaration
source · pub enum TypeDeclaration {
DataType(Box<TypeDeclarationDataType, Global>),
Interface(Box<TypeDeclarationInterface, Global>),
Reserved(Box<TypeDeclarationReserved, Global>),
}
Variants§
DataType(Box<TypeDeclarationDataType, Global>)
Interface(Box<TypeDeclarationInterface, Global>)
Reserved(Box<TypeDeclarationReserved, Global>)
Trait Implementations§
source§impl Clone for TypeDeclaration
impl Clone for TypeDeclaration
source§fn clone(&self) -> TypeDeclaration
fn clone(&self) -> TypeDeclaration
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 TypeDeclaration
impl Debug for TypeDeclaration
source§impl<'a> From<&'a TypeDeclaration> for RefNode<'a>
impl<'a> From<&'a TypeDeclaration> for RefNode<'a>
source§fn from(x: &'a TypeDeclaration) -> RefNode<'a>
fn from(x: &'a TypeDeclaration) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a TypeDeclaration> for RefNodes<'a>
impl<'a> From<&'a TypeDeclaration> for RefNodes<'a>
source§fn from(x: &'a TypeDeclaration) -> RefNodes<'a>
fn from(x: &'a TypeDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<TypeDeclaration> for AnyNode
impl From<TypeDeclaration> for AnyNode
source§fn from(x: TypeDeclaration) -> AnyNode
fn from(x: TypeDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a TypeDeclaration
impl<'a> IntoIterator for &'a TypeDeclaration
source§impl PartialEq<TypeDeclaration> for TypeDeclaration
impl PartialEq<TypeDeclaration> for TypeDeclaration
source§fn eq(&self, other: &TypeDeclaration) -> bool
fn eq(&self, other: &TypeDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.