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