#[repr(C)]pub struct GMenuModelClass {
pub parent_class: GObjectClass,
pub is_mutable: Option<extern "C" fn(*mut GMenuModel) -> gboolean>,
pub get_n_items: Option<extern "C" fn(*mut GMenuModel) -> gint>,
pub get_item_attributes: Option<extern "C" fn(*mut GMenuModel, gint, *mut *mut GHashTable)>,
pub iterate_item_attributes: Option<extern "C" fn(*mut GMenuModel, gint) -> *mut GMenuAttributeIter>,
pub get_item_attribute_value: Option<extern "C" fn(*mut GMenuModel, gint, *const gchar, *const GVariantType) -> *mut GVariant>,
pub get_item_links: Option<extern "C" fn(*mut GMenuModel, gint, *mut *mut GHashTable)>,
pub iterate_item_links: Option<extern "C" fn(*mut GMenuModel, gint) -> *mut GMenuLinkIter>,
pub get_item_link: Option<extern "C" fn(*mut GMenuModel, gint, *const gchar) -> *mut GMenuModel>,
}Fields§
§parent_class: GObjectClass§is_mutable: Option<extern "C" fn(*mut GMenuModel) -> gboolean>§get_n_items: Option<extern "C" fn(*mut GMenuModel) -> gint>§get_item_attributes: Option<extern "C" fn(*mut GMenuModel, gint, *mut *mut GHashTable)>§iterate_item_attributes: Option<extern "C" fn(*mut GMenuModel, gint) -> *mut GMenuAttributeIter>§get_item_attribute_value: Option<extern "C" fn(*mut GMenuModel, gint, *const gchar, *const GVariantType) -> *mut GVariant>§get_item_links: Option<extern "C" fn(*mut GMenuModel, gint, *mut *mut GHashTable)>§iterate_item_links: Option<extern "C" fn(*mut GMenuModel, gint) -> *mut GMenuLinkIter>§get_item_link: Option<extern "C" fn(*mut GMenuModel, gint, *const gchar) -> *mut GMenuModel>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