#[non_exhaustive]pub struct AccessRequest<'a> {
pub action: AccessAction,
pub part: Option<u32>,
pub value: Option<&'a str>,
}Expand description
A request from assistive technology, as a widget receives it in
Widget::access_action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.action: AccessActionWhat to do.
part: Option<u32>The part of the widget it is for (see AccessNode::push_part), or the widget itself.
value: Option<&'a str>The text, for AccessAction::SetValue.
Trait Implementations§
Source§impl<'a> Clone for AccessRequest<'a>
impl<'a> Clone for AccessRequest<'a>
impl<'a> Copy for AccessRequest<'a>
Source§impl<'a> Debug for AccessRequest<'a>
impl<'a> Debug for AccessRequest<'a>
impl<'a> Eq for AccessRequest<'a>
Source§impl<'a> PartialEq for AccessRequest<'a>
impl<'a> PartialEq for AccessRequest<'a>
impl<'a> StructuralPartialEq for AccessRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccessRequest<'a>
impl<'a> RefUnwindSafe for AccessRequest<'a>
impl<'a> Send for AccessRequest<'a>
impl<'a> Sync for AccessRequest<'a>
impl<'a> Unpin for AccessRequest<'a>
impl<'a> UnsafeUnpin for AccessRequest<'a>
impl<'a> UnwindSafe for AccessRequest<'a>
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