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

A type of each variadic argument. Inferred if missing.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Varargs
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Varargs
[src]

Formats the value using the given formatter.