Skip to main content

IPointerInputModule_ButtonStateMethods

Trait IPointerInputModule_ButtonStateMethods 

Source
pub trait IPointerInputModule_ButtonStateMethods: IPointerInputModule_ButtonState {
    // Provided methods
    fn get_event_data(self) -> PointerInputModule_MouseButtonEventData { ... }
    fn set_event_data(
        self,
        value: impl Into<PointerInputModule_MouseButtonEventData>,
    ) { ... }
    fn get_button(self) -> PointerEventData_InputButton { ... }
    fn set_button(self, value: impl Into<PointerEventData_InputButton>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_event_data(self) -> PointerInputModule_MouseButtonEventData

get_eventData() overload

Source

fn set_event_data( self, value: impl Into<PointerInputModule_MouseButtonEventData>, )

set_eventData(crate::unity_engine::event_systems::pointerinputmodule::PointerInputModule_MouseButtonEventData) overload

Source

fn get_button(self) -> PointerEventData_InputButton

get_button() overload

Source

fn set_button(self, value: impl Into<PointerEventData_InputButton>)

set_button(crate::unity_engine::event_systems::pointereventdata::PointerEventData_InputButton) overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IPointerInputModule_ButtonState> IPointerInputModule_ButtonStateMethods for __T

Available on crate feature unity_engine-event_systems-pointerinputmodule only.