Struct weedle::CallbackDefinition [] [src]

pub struct CallbackDefinition {
    pub attributes: Option<ExtendedAttributeList>,
    pub callback: Callback,
    pub identifier: Identifier,
    pub assign: Assign,
    pub return_type: ReturnType,
    pub arguments: Braced<ArgumentList>,
    pub semi_colon: SemiColon,
}

Parses [attributes]? callback identifier = type ( (arg1, arg2, ..., argN)? );

Fields

Trait Implementations

impl Debug for CallbackDefinition
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for CallbackDefinition
[src]

[src]

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

[src]

This method tests for !=.

impl Parse for CallbackDefinition
[src]

Auto Trait Implementations