Struct atk_sys::AtkComponentIface
source · [−]#[repr(C)]pub struct AtkComponentIface {Show 18 fields
pub parent: GTypeInterface,
pub add_focus_handler: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: AtkFocusHandler) -> c_uint>,
pub contains: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_int, _: c_int, _: AtkCoordType) -> gboolean>,
pub ref_accessible_at_point: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_int, _: c_int, _: AtkCoordType) -> *mut AtkObject>,
pub get_extents: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: AtkCoordType)>,
pub get_position: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: *mut c_int, _: *mut c_int, _: AtkCoordType)>,
pub get_size: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: *mut c_int, _: *mut c_int)>,
pub grab_focus: Option<unsafe extern "C" fn(_: *mut AtkComponent) -> gboolean>,
pub remove_focus_handler: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_uint)>,
pub set_extents: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_int, _: c_int, _: c_int, _: c_int, _: AtkCoordType) -> gboolean>,
pub set_position: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_int, _: c_int, _: AtkCoordType) -> gboolean>,
pub set_size: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_int, _: c_int) -> gboolean>,
pub get_layer: Option<unsafe extern "C" fn(_: *mut AtkComponent) -> AtkLayer>,
pub get_mdi_zorder: Option<unsafe extern "C" fn(_: *mut AtkComponent) -> c_int>,
pub bounds_changed: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: *mut AtkRectangle)>,
pub get_alpha: Option<unsafe extern "C" fn(_: *mut AtkComponent) -> c_double>,
pub scroll_to: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: AtkScrollType) -> gboolean>,
pub scroll_to_point: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: AtkCoordType, _: c_int, _: c_int) -> gboolean>,
}
Fields
parent: GTypeInterface
add_focus_handler: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: AtkFocusHandler) -> c_uint>
contains: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_int, _: c_int, _: AtkCoordType) -> gboolean>
ref_accessible_at_point: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_int, _: c_int, _: AtkCoordType) -> *mut AtkObject>
get_extents: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: AtkCoordType)>
get_position: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: *mut c_int, _: *mut c_int, _: AtkCoordType)>
get_size: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: *mut c_int, _: *mut c_int)>
grab_focus: Option<unsafe extern "C" fn(_: *mut AtkComponent) -> gboolean>
remove_focus_handler: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_uint)>
set_extents: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_int, _: c_int, _: c_int, _: c_int, _: AtkCoordType) -> gboolean>
set_position: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_int, _: c_int, _: AtkCoordType) -> gboolean>
set_size: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: c_int, _: c_int) -> gboolean>
get_layer: Option<unsafe extern "C" fn(_: *mut AtkComponent) -> AtkLayer>
get_mdi_zorder: Option<unsafe extern "C" fn(_: *mut AtkComponent) -> c_int>
bounds_changed: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: *mut AtkRectangle)>
get_alpha: Option<unsafe extern "C" fn(_: *mut AtkComponent) -> c_double>
scroll_to: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: AtkScrollType) -> gboolean>
scroll_to_point: Option<unsafe extern "C" fn(_: *mut AtkComponent, _: AtkCoordType, _: c_int, _: c_int) -> gboolean>
Trait Implementations
sourceimpl Clone for AtkComponentIface
impl Clone for AtkComponentIface
sourcefn clone(&self) -> AtkComponentIface
fn clone(&self) -> AtkComponentIface
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 AtkComponentIface
impl Debug for AtkComponentIface
impl Copy for AtkComponentIface
Auto Trait Implementations
impl RefUnwindSafe for AtkComponentIface
impl Send for AtkComponentIface
impl Sync for AtkComponentIface
impl Unpin for AtkComponentIface
impl UnwindSafe for AtkComponentIface
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