Struct gio_sys::GMenuModelClass
source · #[repr(C)]pub struct GMenuModelClass {
pub parent_class: GObjectClass,
pub is_mutable: Option<unsafe extern "C" fn(_: *mut GMenuModel) -> gboolean>,
pub get_n_items: Option<unsafe extern "C" fn(_: *mut GMenuModel) -> c_int>,
pub get_item_attributes: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int, _: *mut *mut GHashTable)>,
pub iterate_item_attributes: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int) -> *mut GMenuAttributeIter>,
pub get_item_attribute_value: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int, _: *const c_char, _: *const GVariantType) -> *mut GVariant>,
pub get_item_links: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int, _: *mut *mut GHashTable)>,
pub iterate_item_links: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int) -> *mut GMenuLinkIter>,
pub get_item_link: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int, _: *const c_char) -> *mut GMenuModel>,
}
Fields§
§parent_class: GObjectClass
§is_mutable: Option<unsafe extern "C" fn(_: *mut GMenuModel) -> gboolean>
§get_n_items: Option<unsafe extern "C" fn(_: *mut GMenuModel) -> c_int>
§get_item_attributes: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int, _: *mut *mut GHashTable)>
§iterate_item_attributes: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int) -> *mut GMenuAttributeIter>
§get_item_attribute_value: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int, _: *const c_char, _: *const GVariantType) -> *mut GVariant>
§get_item_links: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int, _: *mut *mut GHashTable)>
§iterate_item_links: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int) -> *mut GMenuLinkIter>
§get_item_link: Option<unsafe extern "C" fn(_: *mut GMenuModel, _: c_int, _: *const c_char) -> *mut GMenuModel>
Trait Implementations§
source§impl Clone for GMenuModelClass
impl Clone for GMenuModelClass
source§fn clone(&self) -> GMenuModelClass
fn clone(&self) -> GMenuModelClass
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 more