1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
glib::wrapper! {
#[derive(Debug)]
pub struct UnixMountEntry(Boxed<ffi::GUnixMountEntry>);
match fn {
copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::g_unix_mount_entry_get_type(), ptr as *mut _) as *mut ffi::GUnixMountEntry,
free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::g_unix_mount_entry_get_type(), ptr as *mut _),
type_ => || ffi::g_unix_mount_entry_get_type(),
}
}
unsafe impl Send for UnixMountEntry {}
unsafe impl Sync for UnixMountEntry {}