#[repr(C)]pub struct Input_InterceptorEventCallback {
pub mouseCallback: Input_MouseEventCallback,
pub touchCallback: Input_TouchEventCallback,
pub axisCallback: Input_AxisEventCallback,
}Available on crate feature
api-12 only.Expand description
Defines the structure for the interceptor of event callbacks, including mouseCallback, touchCallback, and axisCallback.
Available since API-level: 12
Fields§
§mouseCallback: Input_MouseEventCallbackDefines a lifecycle callback for mouseEvent.
touchCallback: Input_TouchEventCallbackDefines a lifecycle callback for touchEvent.
axisCallback: Input_AxisEventCallbackDefines a lifecycle callback for axisEvent.
Trait Implementations§
Source§impl Clone for Input_InterceptorEventCallback
impl Clone for Input_InterceptorEventCallback
Source§fn clone(&self) -> Input_InterceptorEventCallback
fn clone(&self) -> Input_InterceptorEventCallback
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Input_InterceptorEventCallback
Auto Trait Implementations§
impl Freeze for Input_InterceptorEventCallback
impl RefUnwindSafe for Input_InterceptorEventCallback
impl Send for Input_InterceptorEventCallback
impl Sync for Input_InterceptorEventCallback
impl Unpin for Input_InterceptorEventCallback
impl UnwindSafe for Input_InterceptorEventCallback
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)