Enum umbra_lang::FnArgs [−][src]
pub enum FnArgs { Macro { vars: HashableMap<String, RefTVal>, pos: Option<Pos>, tokens: Vec<Token>, }, Normal { this: Box<RefTVal>, pos: Option<Pos>, args: RefTVal, }, }
Expand description
Function arguments for various types of functions.
Variants
A way to call a function with Token
s as arguments rather than their evaluated forms.
Show fields
The usual way to call a function.
Note that this doesn’t have vars
since function values are evaluated beforehand.
Show fields
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FnArgs
impl UnwindSafe for FnArgs
Blanket Implementations
Mutably borrows from an owned value. Read more