#[non_exhaustive]pub struct A11yRequest {
pub win: u32,
pub id: u64,
pub action: A11yAction,
}Expand description
A screen reader’s request for a record with an id64 (ui.a11y_request_take).
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.win: u32the id of the record’s window: 0 the main window, else the id its window_begin got
id: u64the record’s id64
action: A11yActionImplementations§
Source§impl A11yRequest
impl A11yRequest
Sourcepub fn new(win: u32, id: u64, action: A11yAction) -> A11yRequest
pub fn new(win: u32, id: u64, action: A11yAction) -> A11yRequest
A request as ui.a11y_request_take hands it out (window id, the record’s id64, the
action): for an app’s tests of its own handling, the struct being non_exhaustive.
Trait Implementations§
Source§impl Clone for A11yRequest
impl Clone for A11yRequest
Source§impl Debug for A11yRequest
impl Debug for A11yRequest
Source§impl PartialEq for A11yRequest
impl PartialEq for A11yRequest
impl StructuralPartialEq for A11yRequest
Auto Trait Implementations§
impl Forget for A11yRequest
impl Freeze for A11yRequest
impl Move for A11yRequest
impl RefUnwindSafe for A11yRequest
impl Send for A11yRequest
impl Sync for A11yRequest
impl Unpin for A11yRequest
impl UnsafeUnpin for A11yRequest
impl UnwindSafe for A11yRequest
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