Enum sv_parser_syntaxtree::declarations::module_parameter_declarations::LocalParameterDeclaration
source · pub enum LocalParameterDeclaration {
Param(Box<LocalParameterDeclarationParam>),
Type(Box<LocalParameterDeclarationType>),
}
Variants§
Param(Box<LocalParameterDeclarationParam>)
Type(Box<LocalParameterDeclarationType>)
Trait Implementations§
source§impl Clone for LocalParameterDeclaration
impl Clone for LocalParameterDeclaration
source§fn clone(&self) -> LocalParameterDeclaration
fn clone(&self) -> LocalParameterDeclaration
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 LocalParameterDeclaration
impl Debug for LocalParameterDeclaration
source§impl<'a> From<&'a LocalParameterDeclaration> for RefNode<'a>
impl<'a> From<&'a LocalParameterDeclaration> for RefNode<'a>
source§fn from(x: &'a LocalParameterDeclaration) -> Self
fn from(x: &'a LocalParameterDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a LocalParameterDeclaration> for RefNodes<'a>
impl<'a> From<&'a LocalParameterDeclaration> for RefNodes<'a>
source§fn from(x: &'a LocalParameterDeclaration) -> Self
fn from(x: &'a LocalParameterDeclaration) -> Self
Converts to this type from the input type.
source§impl From<LocalParameterDeclaration> for AnyNode
impl From<LocalParameterDeclaration> for AnyNode
source§fn from(x: LocalParameterDeclaration) -> Self
fn from(x: LocalParameterDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a LocalParameterDeclaration
impl<'a> IntoIterator for &'a LocalParameterDeclaration
source§impl PartialEq<LocalParameterDeclaration> for LocalParameterDeclaration
impl PartialEq<LocalParameterDeclaration> for LocalParameterDeclaration
source§fn eq(&self, other: &LocalParameterDeclaration) -> bool
fn eq(&self, other: &LocalParameterDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.