pub struct SurfaceInputBinding {
pub on_pointer: Box<dyn FnMut(&PointerEvent, Rect)>,
pub on_key: Box<dyn FnMut(&KeyEvent)>,
}Fields§
§on_pointer: Box<dyn FnMut(&PointerEvent, Rect)>§on_key: Box<dyn FnMut(&KeyEvent)>Auto Trait Implementations§
impl !RefUnwindSafe for SurfaceInputBinding
impl !Send for SurfaceInputBinding
impl !Sync for SurfaceInputBinding
impl !UnwindSafe for SurfaceInputBinding
impl Freeze for SurfaceInputBinding
impl Unpin for SurfaceInputBinding
impl UnsafeUnpin for SurfaceInputBinding
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