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: GtkTextViewClass
§line_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§
source§impl Clone for GtkSourceViewClass
impl Clone for GtkSourceViewClass
source§fn clone(&self) -> GtkSourceViewClass
fn clone(&self) -> GtkSourceViewClass
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 GtkSourceViewClass
impl Debug for GtkSourceViewClass
impl Copy for GtkSourceViewClass
Auto Trait Implementations§
impl Freeze for GtkSourceViewClass
impl RefUnwindSafe for GtkSourceViewClass
impl !Send for GtkSourceViewClass
impl !Sync for GtkSourceViewClass
impl Unpin for GtkSourceViewClass
impl UnwindSafe for GtkSourceViewClass
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
)