bridge_types

Type Alias VarArgs

Source
pub type VarArgs<T> = Vec<T>;
Expand description

Public type used by rust native -> slosh bridge macro to represent arguments in slosh that correspond to variadic functions in rust

Type is useful so it is possible to write rust native functions that appear in slosh as functions that can receive any number of arguments.

Aliased Typeยง

struct VarArgs<T> { /* private fields */ }