Struct sourceview5_sys::GtkSourceViewClass
source · [−]#[repr(C)]pub struct GtkSourceViewClass {
pub parent_class: GtkTextViewClass,
pub line_mark_activated: Option<unsafe extern "C" fn(_: *mut GtkSourceView, _: *const GtkTextIter, _: c_uint, _: GdkModifierType, _: c_int)>,
pub show_completion: Option<unsafe extern "C" fn(_: *mut GtkSourceView)>,
pub move_lines: Option<unsafe extern "C" fn(_: *mut GtkSourceView, _: gboolean)>,
pub move_words: Option<unsafe extern "C" fn(_: *mut GtkSourceView, _: c_int)>,
pub push_snippet: Option<unsafe extern "C" fn(_: *mut GtkSourceView, _: *mut GtkSourceSnippet, _: *mut GtkTextIter)>,
pub _reserved: [gpointer; 20],
}Fields
parent_class: GtkTextViewClassline_mark_activated: Option<unsafe extern "C" fn(_: *mut GtkSourceView, _: *const GtkTextIter, _: c_uint, _: GdkModifierType, _: c_int)>show_completion: Option<unsafe extern "C" fn(_: *mut GtkSourceView)>move_lines: Option<unsafe extern "C" fn(_: *mut GtkSourceView, _: gboolean)>move_words: Option<unsafe extern "C" fn(_: *mut GtkSourceView, _: c_int)>push_snippet: Option<unsafe extern "C" fn(_: *mut GtkSourceView, _: *mut GtkSourceSnippet, _: *mut GtkTextIter)>_reserved: [gpointer; 20]Trait Implementations
sourceimpl Clone for GtkSourceViewClass
impl Clone for GtkSourceViewClass
sourcefn clone(&self) -> GtkSourceViewClass
fn clone(&self) -> GtkSourceViewClass
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for GtkSourceViewClass
impl Debug for GtkSourceViewClass
impl Copy for GtkSourceViewClass
Auto Trait Implementations
impl RefUnwindSafe for GtkSourceViewClass
impl !Send for GtkSourceViewClass
impl !Sync for GtkSourceViewClass
impl Unpin for GtkSourceViewClass
impl UnwindSafe for GtkSourceViewClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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