pub enum ParameterDeclaration {
Param(Box<ParameterDeclarationParam>),
Type(Box<ParameterDeclarationType>),
}
Variants§
Param(Box<ParameterDeclarationParam>)
Type(Box<ParameterDeclarationType>)
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 for ParameterDeclaration
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a ParameterDeclaration> for Locate
impl<'a> TryFrom<&'a ParameterDeclaration> for Locate
source§impl TryFrom<AnyNode> for ParameterDeclaration
impl TryFrom<AnyNode> for ParameterDeclaration
source§impl 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§
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