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