pub struct SemanticsSetSelection(/* private fields */);Expand description
What a text field does when a screen reader moves its caret or picks a
stretch of its text: the two ends of the new selection, as byte offsets
into the field’s text, the anchor first and the end that moves second. Equal
ends are a caret. This is Compose’s SemanticsActions.SetSelection; the
answer says whether the field took the selection.
Implementations§
Trait Implementations§
Source§impl Clone for SemanticsSetSelection
impl Clone for SemanticsSetSelection
Source§fn clone(&self) -> SemanticsSetSelection
fn clone(&self) -> SemanticsSetSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SemanticsSetSelection
impl Debug for SemanticsSetSelection
Auto Trait Implementations§
impl !RefUnwindSafe for SemanticsSetSelection
impl !Send for SemanticsSetSelection
impl !Sync for SemanticsSetSelection
impl !UnwindSafe for SemanticsSetSelection
impl Freeze for SemanticsSetSelection
impl Unpin for SemanticsSetSelection
impl UnsafeUnpin for SemanticsSetSelection
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