Struct gio_sys::GListModelInterface
source · [−]#[repr(C)]pub struct GListModelInterface {
pub g_iface: GTypeInterface,
pub get_item_type: Option<unsafe extern "C" fn(_: *mut GListModel) -> GType>,
pub get_n_items: Option<unsafe extern "C" fn(_: *mut GListModel) -> c_uint>,
pub get_item: Option<unsafe extern "C" fn(_: *mut GListModel, _: c_uint) -> *mut GObject>,
}
Fields
g_iface: GTypeInterface
get_item_type: Option<unsafe extern "C" fn(_: *mut GListModel) -> GType>
get_n_items: Option<unsafe extern "C" fn(_: *mut GListModel) -> c_uint>
get_item: Option<unsafe extern "C" fn(_: *mut GListModel, _: c_uint) -> *mut GObject>
Trait Implementations
sourceimpl Clone for GListModelInterface
impl Clone for GListModelInterface
sourcefn clone(&self) -> GListModelInterface
fn clone(&self) -> GListModelInterface
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GListModelInterface
impl Debug for GListModelInterface
impl Copy for GListModelInterface
Auto Trait Implementations
impl RefUnwindSafe for GListModelInterface
impl Send for GListModelInterface
impl Sync for GListModelInterface
impl Unpin for GListModelInterface
impl UnwindSafe for GListModelInterface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more