#[repr(C)]pub struct GtkSelectionModelInterface {
pub g_iface: GTypeInterface,
pub is_selected: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint) -> gboolean>,
pub get_selection_in_range: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint, _: c_uint) -> *mut GtkBitset>,
pub select_item: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint, _: gboolean) -> gboolean>,
pub unselect_item: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint) -> gboolean>,
pub select_range: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint, _: c_uint, _: gboolean) -> gboolean>,
pub unselect_range: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint, _: c_uint) -> gboolean>,
pub select_all: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel) -> gboolean>,
pub unselect_all: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel) -> gboolean>,
pub set_selection: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: *mut GtkBitset, _: *mut GtkBitset) -> gboolean>,
}
Fields§
§g_iface: GTypeInterface
§is_selected: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint) -> gboolean>
§get_selection_in_range: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint, _: c_uint) -> *mut GtkBitset>
§select_item: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint, _: gboolean) -> gboolean>
§unselect_item: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint) -> gboolean>
§select_range: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint, _: c_uint, _: gboolean) -> gboolean>
§unselect_range: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: c_uint, _: c_uint) -> gboolean>
§select_all: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel) -> gboolean>
§unselect_all: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel) -> gboolean>
§set_selection: Option<unsafe extern "C" fn(_: *mut GtkSelectionModel, _: *mut GtkBitset, _: *mut GtkBitset) -> gboolean>
Trait Implementations§
Source§impl Clone for GtkSelectionModelInterface
impl Clone for GtkSelectionModelInterface
Source§fn clone(&self) -> GtkSelectionModelInterface
fn clone(&self) -> GtkSelectionModelInterface
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 GtkSelectionModelInterface
impl Debug for GtkSelectionModelInterface
impl Copy for GtkSelectionModelInterface
Auto Trait Implementations§
impl Freeze for GtkSelectionModelInterface
impl RefUnwindSafe for GtkSelectionModelInterface
impl Send for GtkSelectionModelInterface
impl Sync for GtkSelectionModelInterface
impl Unpin for GtkSelectionModelInterface
impl UnwindSafe for GtkSelectionModelInterface
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
)