Struct atk_sys::AtkObjectClass

source ·
#[repr(C)]
pub struct AtkObjectClass {
Show 28 fields pub parent: GObjectClass, pub get_name: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>, pub get_description: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>, pub get_parent: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkObject>, pub get_n_children: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>, pub ref_child: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_int) -> *mut AtkObject>, pub get_index_in_parent: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>, pub ref_relation_set: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkRelationSet>, pub get_role: Option<unsafe extern "C" fn(_: *mut AtkObject) -> AtkRole>, pub get_layer: Option<unsafe extern "C" fn(_: *mut AtkObject) -> AtkLayer>, pub get_mdi_zorder: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>, pub ref_state_set: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkStateSet>, pub set_name: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char)>, pub set_description: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char)>, pub set_parent: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkObject)>, pub set_role: Option<unsafe extern "C" fn(_: *mut AtkObject, _: AtkRole)>, pub connect_property_change_handler: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkPropertyChangeHandler) -> c_uint>, pub remove_property_change_handler: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_uint)>, pub initialize: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut gpointer)>, pub children_changed: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_uint, _: gpointer)>, pub focus_event: Option<unsafe extern "C" fn(_: *mut AtkObject, _: gboolean)>, pub property_change: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkPropertyValues)>, pub state_change: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char, _: gboolean)>, pub visible_data_changed: Option<unsafe extern "C" fn(_: *mut AtkObject)>, pub active_descendant_changed: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut gpointer)>, pub get_attributes: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkAttributeSet>, pub get_object_locale: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>, pub pad1: AtkFunction,
}

Fields§

§parent: GObjectClass§get_name: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>§get_description: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>§get_parent: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkObject>§get_n_children: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>§ref_child: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_int) -> *mut AtkObject>§get_index_in_parent: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>§ref_relation_set: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkRelationSet>§get_role: Option<unsafe extern "C" fn(_: *mut AtkObject) -> AtkRole>§get_layer: Option<unsafe extern "C" fn(_: *mut AtkObject) -> AtkLayer>§get_mdi_zorder: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>§ref_state_set: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkStateSet>§set_name: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char)>§set_description: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char)>§set_parent: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkObject)>§set_role: Option<unsafe extern "C" fn(_: *mut AtkObject, _: AtkRole)>§connect_property_change_handler: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkPropertyChangeHandler) -> c_uint>§remove_property_change_handler: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_uint)>§initialize: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut gpointer)>§children_changed: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_uint, _: gpointer)>§focus_event: Option<unsafe extern "C" fn(_: *mut AtkObject, _: gboolean)>§property_change: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkPropertyValues)>§state_change: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char, _: gboolean)>§visible_data_changed: Option<unsafe extern "C" fn(_: *mut AtkObject)>§active_descendant_changed: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut gpointer)>§get_attributes: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkAttributeSet>§get_object_locale: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>§pad1: AtkFunction

Trait Implementations§

source§

impl Clone for AtkObjectClass

source§

fn clone(&self) -> AtkObjectClass

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AtkObjectClass

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for AtkObjectClass

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.