Struct gio_sys::GIconIface
source · #[repr(C)]pub struct GIconIface {
pub g_iface: GTypeInterface,
pub hash: Option<unsafe extern "C" fn(_: *mut GIcon) -> c_uint>,
pub equal: Option<unsafe extern "C" fn(_: *mut GIcon, _: *mut GIcon) -> gboolean>,
pub to_tokens: Option<unsafe extern "C" fn(_: *mut GIcon, _: *mut GPtrArray, _: *mut c_int) -> gboolean>,
pub from_tokens: Option<unsafe extern "C" fn(_: *mut *mut c_char, _: c_int, _: c_int, _: *mut *mut GError) -> *mut GIcon>,
pub serialize: Option<unsafe extern "C" fn(_: *mut GIcon) -> *mut GVariant>,
}
Fields§
§g_iface: GTypeInterface
§hash: Option<unsafe extern "C" fn(_: *mut GIcon) -> c_uint>
§equal: Option<unsafe extern "C" fn(_: *mut GIcon, _: *mut GIcon) -> gboolean>
§to_tokens: Option<unsafe extern "C" fn(_: *mut GIcon, _: *mut GPtrArray, _: *mut c_int) -> gboolean>
§from_tokens: Option<unsafe extern "C" fn(_: *mut *mut c_char, _: c_int, _: c_int, _: *mut *mut GError) -> *mut GIcon>
§serialize: Option<unsafe extern "C" fn(_: *mut GIcon) -> *mut GVariant>
Trait Implementations§
source§impl Clone for GIconIface
impl Clone for GIconIface
source§fn clone(&self) -> GIconIface
fn clone(&self) -> GIconIface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GIconIface
impl Debug for GIconIface
impl Copy for GIconIface
Auto Trait Implementations§
impl Freeze for GIconIface
impl RefUnwindSafe for GIconIface
impl Send for GIconIface
impl Sync for GIconIface
impl Unpin for GIconIface
impl UnwindSafe for GIconIface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more