Trait cvar::IAction [] [src]

pub trait IAction: INode {
    fn invoke(&self, ctx: &mut Context) -> Result<()InnerError>;
}

Action node interface.

Provides an object safe interface for actions, type erasing its implementation.

Required Methods

fn invoke(&self, ctx: &mut Context) -> Result<()InnerError>

Invoke the callback associated with the Action.

Trait Implementations

impl<'a> Debug for &'a IAction
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

Implementors