Struct ndk::event::HistoricalMotionEvent [−][src]
pub struct HistoricalMotionEvent<'a> { /* fields omitted */ }
Expand description
Represents a view into a past moment of a motion event
Implementations
Returns the “history index” associated with this historical event. Older events have smaller indices.
Returns the time of the historical event, in the java.lang.System.nanoTime()
time base
See the NDK docs
pub fn pointers(&self) -> HistoricalPointersIter<'a>ⓘNotable traits for HistoricalPointersIter<'a>impl<'a> Iterator for HistoricalPointersIter<'a> type Item = HistoricalPointer<'a>;
pub fn pointers(&self) -> HistoricalPointersIter<'a>ⓘNotable traits for HistoricalPointersIter<'a>impl<'a> Iterator for HistoricalPointersIter<'a> type Item = HistoricalPointer<'a>;
Notable traits for HistoricalPointersIter<'a>
impl<'a> Iterator for HistoricalPointersIter<'a> type Item = HistoricalPointer<'a>;
An iterator over the pointers of this historical motion event