#[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 moreSource§impl Debug for GMenuModelClass
impl Debug for GMenuModelClass
impl Copy for GMenuModelClass
Auto Trait Implementations§
impl Freeze for GMenuModelClass
impl RefUnwindSafe for GMenuModelClass
impl !Send for GMenuModelClass
impl !Sync for GMenuModelClass
impl Unpin for GMenuModelClass
impl UnwindSafe for GMenuModelClass
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