pub enum FunctionArgument {
Expression(Expression),
VariadicValues(Token),
}Expand description
Arguments that can be passed in a FunctionCall.
Variants§
Trait Implementations§
Source§impl Clone for FunctionArgument
impl Clone for FunctionArgument
Source§fn clone(&self) -> FunctionArgument
fn clone(&self) -> FunctionArgument
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 FunctionArgument
impl Debug for FunctionArgument
Source§impl GetRange for FunctionArgument
impl GetRange for FunctionArgument
Source§fn get_range(&self) -> Result<Range, GetRangeError>
fn get_range(&self) -> Result<Range, GetRangeError>
Get the range of the node. This will only fail if
Cst.status is
AstStatus::HasErrors.Source§impl Hash for FunctionArgument
impl Hash for FunctionArgument
Source§impl Ord for FunctionArgument
impl Ord for FunctionArgument
Source§fn cmp(&self, other: &FunctionArgument) -> Ordering
fn cmp(&self, other: &FunctionArgument) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Parse for FunctionArgument
impl Parse for FunctionArgument
Source§impl PartialEq for FunctionArgument
impl PartialEq for FunctionArgument
Source§impl PartialOrd for FunctionArgument
impl PartialOrd for FunctionArgument
Source§impl Print for FunctionArgument
impl Print for FunctionArgument
impl Eq for FunctionArgument
impl StructuralPartialEq for FunctionArgument
Auto Trait Implementations§
impl Freeze for FunctionArgument
impl RefUnwindSafe for FunctionArgument
impl !Send for FunctionArgument
impl !Sync for FunctionArgument
impl Unpin for FunctionArgument
impl UnwindSafe for FunctionArgument
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