Struct gtk4_sys::GtkAccessibleTextInterface
source · #[repr(C)]pub struct GtkAccessibleTextInterface {
pub g_iface: GTypeInterface,
pub get_contents: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: c_uint, _: c_uint) -> *mut GBytes>,
pub get_contents_at: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: c_uint, _: GtkAccessibleTextGranularity, _: *mut c_uint, _: *mut c_uint) -> *mut GBytes>,
pub get_caret_position: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText) -> c_uint>,
pub get_selection: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: *mut size_t, _: *mut *mut GtkAccessibleTextRange) -> gboolean>,
pub get_attributes: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: c_uint, _: *mut size_t, _: *mut *mut GtkAccessibleTextRange, _: *mut *mut *mut c_char, _: *mut *mut *mut c_char) -> gboolean>,
pub get_default_attributes: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: *mut *mut *mut c_char, _: *mut *mut *mut c_char)>,
pub get_extents: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: c_uint, _: c_uint, _: *mut graphene_rect_t) -> gboolean>,
pub get_offset: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: *const graphene_point_t, _: *mut c_uint) -> gboolean>,
}
Fields§
§g_iface: GTypeInterface
§get_contents: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: c_uint, _: c_uint) -> *mut GBytes>
§get_contents_at: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: c_uint, _: GtkAccessibleTextGranularity, _: *mut c_uint, _: *mut c_uint) -> *mut GBytes>
§get_caret_position: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText) -> c_uint>
§get_selection: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: *mut size_t, _: *mut *mut GtkAccessibleTextRange) -> gboolean>
§get_attributes: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: c_uint, _: *mut size_t, _: *mut *mut GtkAccessibleTextRange, _: *mut *mut *mut c_char, _: *mut *mut *mut c_char) -> gboolean>
§get_default_attributes: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: *mut *mut *mut c_char, _: *mut *mut *mut c_char)>
§get_extents: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: c_uint, _: c_uint, _: *mut graphene_rect_t) -> gboolean>
§get_offset: Option<unsafe extern "C" fn(_: *mut GtkAccessibleText, _: *const graphene_point_t, _: *mut c_uint) -> gboolean>
Trait Implementations§
source§impl Clone for GtkAccessibleTextInterface
impl Clone for GtkAccessibleTextInterface
source§fn clone(&self) -> GtkAccessibleTextInterface
fn clone(&self) -> GtkAccessibleTextInterface
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 GtkAccessibleTextInterface
impl Debug for GtkAccessibleTextInterface
impl Copy for GtkAccessibleTextInterface
Auto Trait Implementations§
impl Freeze for GtkAccessibleTextInterface
impl RefUnwindSafe for GtkAccessibleTextInterface
impl Send for GtkAccessibleTextInterface
impl Sync for GtkAccessibleTextInterface
impl Unpin for GtkAccessibleTextInterface
impl UnwindSafe for GtkAccessibleTextInterface
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