Struct frida_sys::_GMenuModelClass
source · #[repr(C)]pub struct _GMenuModelClass {
pub parent_class: GObjectClass,
pub is_mutable: Option<unsafe extern "C" fn(model: *mut GMenuModel) -> gboolean>,
pub get_n_items: Option<unsafe extern "C" fn(model: *mut GMenuModel) -> gint>,
pub get_item_attributes: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint, attributes: *mut *mut GHashTable)>,
pub iterate_item_attributes: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint) -> *mut GMenuAttributeIter>,
pub get_item_attribute_value: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint, attribute: *const gchar, expected_type: *const GVariantType) -> *mut GVariant>,
pub get_item_links: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint, links: *mut *mut GHashTable)>,
pub iterate_item_links: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint) -> *mut GMenuLinkIter>,
pub get_item_link: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint, link: *const gchar) -> *mut GMenuModel>,
}
Fields§
§parent_class: GObjectClass
§is_mutable: Option<unsafe extern "C" fn(model: *mut GMenuModel) -> gboolean>
§get_n_items: Option<unsafe extern "C" fn(model: *mut GMenuModel) -> gint>
§get_item_attributes: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint, attributes: *mut *mut GHashTable)>
§iterate_item_attributes: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint) -> *mut GMenuAttributeIter>
§get_item_attribute_value: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint, attribute: *const gchar, expected_type: *const GVariantType) -> *mut GVariant>
§get_item_links: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint, links: *mut *mut GHashTable)>
§iterate_item_links: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint) -> *mut GMenuLinkIter>
§get_item_link: Option<unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint, link: *const gchar) -> *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