1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use crate::{Actor, Animatable, Container};
use glib::{object as gobject, translate::*};
use std::fmt;
glib_wrapper! {
pub struct Box(Object<ffi::ClutterBox, ffi::ClutterBoxClass, BoxClass>) @extends Actor, gobject::InitiallyUnowned, @implements Animatable, Container;
match fn {
get_type => || ffi::clutter_box_get_type(),
}
}
impl Box {}
pub const NONE_BOX: Option<&Box> = None;
impl fmt::Display for Box {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "Box")
}
}