[][src]Struct gio_sys::GMenuModelClass

#[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: GObjectClassis_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

impl Clone for GMenuModelClass[src]

impl Copy for GMenuModelClass[src]

impl Debug for GMenuModelClass[src]

Auto Trait Implementations

impl !Send for GMenuModelClass

impl Unpin for GMenuModelClass

impl !Sync for GMenuModelClass

impl UnwindSafe for GMenuModelClass

impl RefUnwindSafe for GMenuModelClass

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]