Trait rin_window::events::MouseMovedEvents [−][src]
pub trait MouseMovedEvents<'a> { fn over(self, area: Rect<f64>) -> Stream<'a, Pnt2<f64>>; fn is_over(self, area: Rect<f64>) -> Stream<'a, bool>; }
Operations over mouse moved
Required methods
fn over(self, area: Rect<f64>) -> Stream<'a, Pnt2<f64>>
[src]
Filters out the original event if it’s not over a certain rectangle
fn is_over(self, area: Rect<f64>) -> Stream<'a, bool>
[src]
Returns a stream that will return true if the original event happens over the rectangle and false if it happens outside
Implementors
Loading content...