Struct kailua_syntax::ast::Sig [] [src]

pub struct Sig {
    pub attrs: Vec<Spanned<Attr>>,
    pub args: Spanned<Seq<TypeSpec<Spanned<ScopedId>>, Varargs>>,
    pub returns: Option<Returns>,
}

A Kailua-specific function signature.

Fields

A list of attributes.

A list of arguments (resolved to scoped identifiers) and associated types if any.

A list of return types, if explicitly given. Inferred if missing.

Trait Implementations

impl Clone for Sig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Sig
[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 Sig
[src]

Formats the value using the given formatter.