Struct kailua_syntax::ast::Varargs
[−]
[src]
pub struct Varargs { pub kind: Option<Spanned<Kind>>, pub legacy_arg: Option<Spanned<ScopedId>>, }
A Kailua type for variadic arguments.
Fields
kind: Option<Spanned<Kind>>
A type of each variadic argument. Inferred if missing.
legacy_arg: Option<Spanned<ScopedId>>
A scoped identifier for arg
(an implicit variable for varargs in Lua 5.0).
This is only used in Lua 5.1 for the compatibility.
Trait Implementations
impl Clone for Varargs
[src]
fn clone(&self) -> Varargs
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Varargs
[src]
fn eq(&self, __arg_0: &Varargs) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Varargs) -> bool
This method tests for !=
.