cogl/auto/
frame_closure.rs

1glib_wrapper! {
2    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
3    pub struct FrameClosure(Boxed<ffi::CoglFrameClosure>);
4
5    match fn {
6        copy => |ptr| gobject_sys::g_boxed_copy(ffi::cogl_frame_closure_get_gtype(), ptr as *mut _) as *mut ffi::CoglFrameClosure,
7        free => |ptr| gobject_sys::g_boxed_free(ffi::cogl_frame_closure_get_gtype(), ptr as *mut _),
8        get_type => || ffi::cogl_frame_closure_get_gtype(),
9    }
10}