[][src]Type Definition seahorse::Action

type Action = fn(_: &Context);

Command and application action type

Example

use seahorse::{Action, Context};

let action: Action = |c: &Context| {
    println!("{:?}", c.args);
};