#[repr(C)]pub struct _GListModelInterface {
pub g_iface: GTypeInterface,
pub get_item_type: Option<unsafe extern "C" fn(list: *mut GListModel) -> GType>,
pub get_n_items: Option<unsafe extern "C" fn(list: *mut GListModel) -> guint>,
pub get_item: Option<unsafe extern "C" fn(list: *mut GListModel, position: guint) -> gpointer>,
}
Fields§
§g_iface: GTypeInterface
§get_item_type: Option<unsafe extern "C" fn(list: *mut GListModel) -> GType>
§get_n_items: Option<unsafe extern "C" fn(list: *mut GListModel) -> guint>
§get_item: Option<unsafe extern "C" fn(list: *mut GListModel, position: guint) -> gpointer>
Trait Implementations§
Source§impl Clone for _GListModelInterface
impl Clone for _GListModelInterface
Source§fn clone(&self) -> _GListModelInterface
fn clone(&self) -> _GListModelInterface
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 _GListModelInterface
impl Debug for _GListModelInterface
Source§impl PartialEq for _GListModelInterface
impl PartialEq for _GListModelInterface
impl Copy for _GListModelInterface
impl Eq for _GListModelInterface
impl StructuralPartialEq for _GListModelInterface
Auto Trait Implementations§
impl Freeze for _GListModelInterface
impl RefUnwindSafe for _GListModelInterface
impl Send for _GListModelInterface
impl Sync for _GListModelInterface
impl Unpin for _GListModelInterface
impl UnwindSafe for _GListModelInterface
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