#[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 moreSource§impl Debug for GListModelInterface
impl Debug for GListModelInterface
impl Copy 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)