pub struct SemanticsSetProgress { /* private fields */ }Expand description
What a control does when a screen reader moves its value, e.g. a VoiceOver swipe up or a TalkBack set-progress action.
This is Compose’s SemanticsActions.SetProgress. The value comes in the
control’s own range, and the answer says whether the control took it.
Implementations§
Trait Implementations§
Source§impl Clone for SemanticsSetProgress
impl Clone for SemanticsSetProgress
Source§fn clone(&self) -> SemanticsSetProgress
fn clone(&self) -> SemanticsSetProgress
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 SemanticsSetProgress
impl Debug for SemanticsSetProgress
impl Eq for SemanticsSetProgress
Source§impl PartialEq for SemanticsSetProgress
Two set-progress actions always read as the same action, for the reason
SemanticsCustomAction’s own comparison gives: the closure is rebuilt on
every semantics collection, so comparing handler identity would report a
changed tree on every frame.
impl PartialEq for SemanticsSetProgress
Two set-progress actions always read as the same action, for the reason
SemanticsCustomAction’s own comparison gives: the closure is rebuilt on
every semantics collection, so comparing handler identity would report a
changed tree on every frame.
Auto Trait Implementations§
impl !RefUnwindSafe for SemanticsSetProgress
impl !Send for SemanticsSetProgress
impl !Sync for SemanticsSetProgress
impl !UnwindSafe for SemanticsSetProgress
impl Freeze for SemanticsSetProgress
impl Unpin for SemanticsSetProgress
impl UnsafeUnpin for SemanticsSetProgress
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