Enum sv_parser_syntaxtree::declarations::module_parameter_declarations::ParameterDeclaration
source · [−]pub enum ParameterDeclaration {
Param(Box<ParameterDeclarationParam>),
Type(Box<ParameterDeclarationType>),
}Variants
Param(Box<ParameterDeclarationParam>)
Type(Box<ParameterDeclarationType>)
Trait Implementations
sourceimpl Clone for ParameterDeclaration
impl Clone for ParameterDeclaration
sourcefn clone(&self) -> ParameterDeclaration
fn clone(&self) -> ParameterDeclaration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ParameterDeclaration
impl Debug for ParameterDeclaration
sourceimpl<'a> From<&'a ParameterDeclaration> for RefNodes<'a>
impl<'a> From<&'a ParameterDeclaration> for RefNodes<'a>
sourcefn from(x: &'a ParameterDeclaration) -> Self
fn from(x: &'a ParameterDeclaration) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ParameterDeclaration> for RefNode<'a>
impl<'a> From<&'a ParameterDeclaration> for RefNode<'a>
sourcefn from(x: &'a ParameterDeclaration) -> Self
fn from(x: &'a ParameterDeclaration) -> Self
Converts to this type from the input type.
sourceimpl From<ParameterDeclaration> for AnyNode
impl From<ParameterDeclaration> for AnyNode
sourcefn from(x: ParameterDeclaration) -> Self
fn from(x: ParameterDeclaration) -> Self
Converts to this type from the input type.
sourceimpl<'a> IntoIterator for &'a ParameterDeclaration
impl<'a> IntoIterator for &'a ParameterDeclaration
sourceimpl PartialEq<ParameterDeclaration> for ParameterDeclaration
impl PartialEq<ParameterDeclaration> for ParameterDeclaration
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ParameterDeclaration) -> bool
fn ne(&self, other: &ParameterDeclaration) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a ParameterDeclaration> for Locate
impl<'a> TryFrom<&'a ParameterDeclaration> for Locate
sourceimpl TryFrom<AnyNode> for ParameterDeclaration
impl TryFrom<AnyNode> for ParameterDeclaration
sourceimpl TryFrom<ParameterDeclaration> for Locate
impl TryFrom<ParameterDeclaration> for Locate
impl StructuralPartialEq for ParameterDeclaration
Auto Trait Implementations
impl RefUnwindSafe for ParameterDeclaration
impl Send for ParameterDeclaration
impl Sync for ParameterDeclaration
impl Unpin for ParameterDeclaration
impl UnwindSafe for ParameterDeclaration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more