#[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§
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