pub struct Variadic {
pub attrs: Vec<Attribute>,
pub pat: Option<(Box<Pat>, Colon)>,
pub dots: DotDotDot,
pub comma: Option<Comma>,
}
Expand description
The variadic argument of a foreign function.
extern "C" {
fn printf(format: *const c_char, ...) -> c_int;
// ^^^
}
Fields§
§attrs: Vec<Attribute>
§pat: Option<(Box<Pat>, Colon)>
§dots: DotDotDot
§comma: Option<Comma>