Struct android_activity::input::InputIterator
source · pub struct InputIterator<'a> { /* private fields */ }
Expand description
An exclusive, lending iterator for input events
Implementations§
source§impl<'a> InputIterator<'a>
impl<'a> InputIterator<'a>
sourcepub fn next<F>(&mut self, callback: F) -> bool
pub fn next<F>(&mut self, callback: F) -> bool
Reads and handles the next input event by passing it to the given callback
callback
should return InputStatus::Unhandled
for any input events that aren’t directly
handled by the application, or else InputStatus::Handled
. Unhandled events may lead to a
fallback interpretation of the event.
Auto Trait Implementations§
impl<'a> Freeze for InputIterator<'a>
impl<'a> RefUnwindSafe for InputIterator<'a>
impl<'a> Send for InputIterator<'a>
impl<'a> Sync for InputIterator<'a>
impl<'a> Unpin for InputIterator<'a>
impl<'a> UnwindSafe for InputIterator<'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