pub trait IPointerInputModule_MouseStateMethods: IPointerInputModule_MouseState {
// Provided methods
fn any_presses_this_frame(self) -> bool { ... }
fn any_releases_this_frame(self) -> bool { ... }
fn get_button_state(
self,
button: impl Into<PointerEventData_InputButton>,
) -> PointerInputModule_ButtonState { ... }
fn set_button_state(
self,
button: impl Into<PointerEventData_InputButton>,
state_for_mouse_button: impl Into<PointerEventData_FramePressState>,
data: impl Into<PointerEventData>,
) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn any_presses_this_frame(self) -> bool
fn any_presses_this_frame(self) -> bool
AnyPressesThisFrame() overload
Sourcefn any_releases_this_frame(self) -> bool
fn any_releases_this_frame(self) -> bool
AnyReleasesThisFrame() overload
GetButtonState(crate::unity_engine::event_systems::pointereventdata::PointerEventData_InputButton) overload
SetButtonState(crate::unity_engine::event_systems::pointereventdata::PointerEventData_InputButton, crate::unity_engine::event_systems::pointereventdata::PointerEventData_FramePressState, crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IPointerInputModule_MouseState> IPointerInputModule_MouseStateMethods for __T
Available on crate feature
unity_engine-event_systems-pointerinputmodule only.