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 for LocalParameterDeclaration
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a LocalParameterDeclaration> for Locate
impl<'a> TryFrom<&'a LocalParameterDeclaration> for Locate
source§impl TryFrom<AnyNode> for LocalParameterDeclaration
impl TryFrom<AnyNode> for LocalParameterDeclaration
source§impl TryFrom<LocalParameterDeclaration> for Locate
impl TryFrom<LocalParameterDeclaration> for Locate
impl StructuralPartialEq for LocalParameterDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for LocalParameterDeclaration
impl Send for LocalParameterDeclaration
impl Sync for LocalParameterDeclaration
impl Unpin for LocalParameterDeclaration
impl UnwindSafe for LocalParameterDeclaration
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