Enum ressa::node::FunctionArg
source · pub enum FunctionArg {
Expr(Expression),
Pattern(Pattern),
}
Expand description
A single function argument from a function signature
Variants
Expr(Expression)
Pattern(Pattern)
Implementations
sourceimpl FunctionArg
impl FunctionArg
Trait Implementations
sourceimpl Clone for FunctionArg
impl Clone for FunctionArg
sourcefn clone(&self) -> FunctionArg
fn clone(&self) -> FunctionArg
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 moresourceimpl Debug for FunctionArg
impl Debug for FunctionArg
sourceimpl PartialEq<FunctionArg> for FunctionArg
impl PartialEq<FunctionArg> for FunctionArg
sourcefn eq(&self, other: &FunctionArg) -> bool
fn eq(&self, other: &FunctionArg) -> bool
impl StructuralPartialEq for FunctionArg
Auto Trait Implementations
impl RefUnwindSafe for FunctionArg
impl Send for FunctionArg
impl Sync for FunctionArg
impl Unpin for FunctionArg
impl UnwindSafe for FunctionArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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