Calls a function in response to a mouse hovering. Version which passes the position
(
self,
f: F,
)
| 79 | |
| 80 | /// Calls a function in response to a mouse hovering. Version which passes the position |
| 81 | fn hover_p<A: 'static, F: Fn(&mut Context, LocalPoint) -> A + Clone + 'static>( |
| 82 | self, |
| 83 | f: F, |
| 84 | ) -> Hover<Self, HoverFuncP<F>> { |
| 85 | Hover::new(self, HoverFuncP { f }) |
| 86 | } |
| 87 | |
| 88 | /// Add an environment value. |
| 89 | fn env<E: Clone + 'static>(self, value: E) -> SetenvView<Self, E> { |
no outgoing calls
no test coverage detected