Struct gtk_sys::GtkTreeSortableIface
source · [−]#[repr(C)]pub struct GtkTreeSortableIface {
pub g_iface: GTypeInterface,
pub sort_column_changed: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable)>,
pub get_sort_column_id: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable, _: *mut c_int, _: *mut GtkSortType) -> gboolean>,
pub set_sort_column_id: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable, _: c_int, _: GtkSortType)>,
pub set_sort_func: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable, _: c_int, _: GtkTreeIterCompareFunc, _: gpointer, _: GDestroyNotify)>,
pub set_default_sort_func: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable, _: GtkTreeIterCompareFunc, _: gpointer, _: GDestroyNotify)>,
pub has_default_sort_func: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable) -> gboolean>,
}
Fields
g_iface: GTypeInterface
sort_column_changed: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable)>
get_sort_column_id: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable, _: *mut c_int, _: *mut GtkSortType) -> gboolean>
set_sort_column_id: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable, _: c_int, _: GtkSortType)>
set_sort_func: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable, _: c_int, _: GtkTreeIterCompareFunc, _: gpointer, _: GDestroyNotify)>
set_default_sort_func: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable, _: GtkTreeIterCompareFunc, _: gpointer, _: GDestroyNotify)>
has_default_sort_func: Option<unsafe extern "C" fn(_: *mut GtkTreeSortable) -> gboolean>
Trait Implementations
sourceimpl Clone for GtkTreeSortableIface
impl Clone for GtkTreeSortableIface
sourcefn clone(&self) -> GtkTreeSortableIface
fn clone(&self) -> GtkTreeSortableIface
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 GtkTreeSortableIface
impl Debug for GtkTreeSortableIface
impl Copy for GtkTreeSortableIface
Auto Trait Implementations
impl RefUnwindSafe for GtkTreeSortableIface
impl Send for GtkTreeSortableIface
impl Sync for GtkTreeSortableIface
impl Unpin for GtkTreeSortableIface
impl UnwindSafe for GtkTreeSortableIface
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more