pub trait AccessibleTextImpl: WidgetImpl {
// Provided methods
fn attributes(
&self,
offset: u32,
) -> Vec<(AccessibleTextRange, GString, GString)> { ... }
fn caret_position(&self) -> u32 { ... }
fn contents(&self, start: u32, end: u32) -> Option<Bytes> { ... }
fn contents_at(
&self,
offset: u32,
granularity: AccessibleTextGranularity,
) -> Option<(u32, u32, Bytes)> { ... }
fn default_attributes(&self) -> Vec<(GString, GString)> { ... }
fn extents(&self, start: u32, end: u32) -> Option<Rect> { ... }
fn offset(&self, point: &Point) -> Option<u32> { ... }
fn selection(&self) -> Vec<AccessibleTextRange> { ... }
}
Available on crate feature
v4_14
only.Provided Methods§
fn attributes( &self, offset: u32, ) -> Vec<(AccessibleTextRange, GString, GString)>
fn caret_position(&self) -> u32
fn contents(&self, start: u32, end: u32) -> Option<Bytes>
fn contents_at( &self, offset: u32, granularity: AccessibleTextGranularity, ) -> Option<(u32, u32, Bytes)>
fn default_attributes(&self) -> Vec<(GString, GString)>
fn extents(&self, start: u32, end: u32) -> Option<Rect>
Available on crate feature
v4_16
only.fn offset(&self, point: &Point) -> Option<u32>
Available on crate feature
v4_16
only.fn selection(&self) -> Vec<AccessibleTextRange>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.