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§
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 more