Struct sourceview4_sys::GtkSourceViewClass
source · #[repr(C)]pub struct GtkSourceViewClass {
pub parent_class: GtkTextViewClass,
pub undo: Option<unsafe extern "C" fn(_: *mut GtkSourceView)>,
pub redo: Option<unsafe extern "C" fn(_: *mut GtkSourceView)>,
pub line_mark_activated: Option<unsafe extern "C" fn(_: *mut GtkSourceView, _: *mut GtkTextIter, _: *mut GdkEvent)>,
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 padding: [gpointer; 20],
}
Fields§
§parent_class: GtkTextViewClass
§undo: Option<unsafe extern "C" fn(_: *mut GtkSourceView)>
§redo: Option<unsafe extern "C" fn(_: *mut GtkSourceView)>
§line_mark_activated: Option<unsafe extern "C" fn(_: *mut GtkSourceView, _: *mut GtkTextIter, _: *mut GdkEvent)>
§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)>
§padding: [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 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