Skip to main content

spice_client_glib/auto/
cursor_shape.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from
3// from gir-files (https://github.com/gtk-rs/gir-files.git)
4// DO NOT EDIT
5
6use crate::ffi;
7
8glib::wrapper! {
9    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
10    pub struct CursorShape(Boxed<ffi::SpiceCursorShape>);
11
12    match fn {
13        copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::spice_cursor_shape_get_type(), ptr as *mut _) as *mut ffi::SpiceCursorShape,
14        free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::spice_cursor_shape_get_type(), ptr as *mut _),
15        type_ => || ffi::spice_cursor_shape_get_type(),
16    }
17}