pub trait IAxisEventDataMethods: IAxisEventData {
// Provided methods
fn get_move_vector(self) -> Vector2 { ... }
fn set_move_vector(self, value: impl Into<Vector2>) { ... }
fn get_move_dir(self) -> MoveDirection { ... }
fn set_move_dir(self, value: impl Into<MoveDirection>) { ... }
fn ctor(self, event_system: impl Into<EventSystem>) { ... }
}Provided Methods§
Sourcefn get_move_vector(self) -> Vector2
fn get_move_vector(self) -> Vector2
get_moveVector() overload
Sourcefn set_move_vector(self, value: impl Into<Vector2>)
fn set_move_vector(self, value: impl Into<Vector2>)
set_moveVector(crate::unity_engine::vector2::Vector2) overload
Sourcefn get_move_dir(self) -> MoveDirection
fn get_move_dir(self) -> MoveDirection
get_moveDir() overload
Sourcefn set_move_dir(self, value: impl Into<MoveDirection>)
fn set_move_dir(self, value: impl Into<MoveDirection>)
set_moveDir(crate::unity_engine::event_systems::movedirection::MoveDirection) overload
Sourcefn ctor(self, event_system: impl Into<EventSystem>)
fn ctor(self, event_system: impl Into<EventSystem>)
.ctor(crate::unity_engine::event_systems::eventsystem::EventSystem) 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: IAxisEventData> IAxisEventDataMethods for __T
Available on crate feature
unity_engine-event_systems-axiseventdata only.