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
attributes: Option<ExtendedAttributeList>
callback: Callback
identifier: Identifier
assign: Assign
return_type: ReturnType
arguments: Braced<ArgumentList>
semi_colon: SemiColon
Trait Implementations
impl Debug for CallbackDefinition
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CallbackDefinition
[src]
fn eq(&self, __arg_0: &CallbackDefinition) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CallbackDefinition) -> bool
[src]
This method tests for !=
.