Trait rin::window::events::MouseMovedEvents [−][src]
pub trait MouseMovedEvents<'a> { pub fn over(self, area: Rect<f64>) -> Stream<'a, Point<f64, U2>>; pub fn is_over(self, area: Rect<f64>) -> Stream<'a, bool>; }
Operations over mouse moved
Required methods
pub fn over(self, area: Rect<f64>) -> Stream<'a, Point<f64, U2>>
[src]
Filters out the original event if it’s not over a certain rectangle
pub 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...