1use crate::ActorMeta;
2use glib::{object as gobject, translate::*};
3use std::fmt;
4
5glib_wrapper! {
6 pub struct Action(Object<ffi::ClutterAction, ffi::ClutterActionClass, ActionClass>) @extends ActorMeta, gobject::InitiallyUnowned;
7
8 match fn {
9 get_type => || ffi::clutter_action_get_type(),
10 }
11}
12
13impl Action {}
14
15pub const NONE_ACTION: Option<&Action> = None;
16
17impl fmt::Display for Action {
18 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
19 write!(f, "Action")
20 }
21}