Struct atk_sys::AtkEditableTextIface
source · [−]#[repr(C)]pub struct AtkEditableTextIface {
pub parent_interface: GTypeInterface,
pub set_run_attributes: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: *mut AtkAttributeSet, _: c_int, _: c_int) -> gboolean>,
pub set_text_contents: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: *const c_char)>,
pub insert_text: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: *const c_char, _: c_int, _: *mut c_int)>,
pub copy_text: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: c_int, _: c_int)>,
pub cut_text: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: c_int, _: c_int)>,
pub delete_text: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: c_int, _: c_int)>,
pub paste_text: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: c_int)>,
}
Fields
parent_interface: GTypeInterface
set_run_attributes: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: *mut AtkAttributeSet, _: c_int, _: c_int) -> gboolean>
set_text_contents: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: *const c_char)>
insert_text: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: *const c_char, _: c_int, _: *mut c_int)>
copy_text: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: c_int, _: c_int)>
cut_text: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: c_int, _: c_int)>
delete_text: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: c_int, _: c_int)>
paste_text: Option<unsafe extern "C" fn(_: *mut AtkEditableText, _: c_int)>
Trait Implementations
sourceimpl Clone for AtkEditableTextIface
impl Clone for AtkEditableTextIface
sourcefn clone(&self) -> AtkEditableTextIface
fn clone(&self) -> AtkEditableTextIface
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 AtkEditableTextIface
impl Debug for AtkEditableTextIface
impl Copy for AtkEditableTextIface
Auto Trait Implementations
impl RefUnwindSafe for AtkEditableTextIface
impl Send for AtkEditableTextIface
impl Sync for AtkEditableTextIface
impl Unpin for AtkEditableTextIface
impl UnwindSafe for AtkEditableTextIface
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