[][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]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for GMenuModelClass[src]

impl Debug for GMenuModelClass[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.