Struct gdnative::InputEventGesture
[−]
[src]
pub struct InputEventGesture { /* fields omitted */ }
core class InputEventGesture : InputEventWithModifiers
(reference counted)
Base class
InputEventGesture inherits InputEventWithModifiers and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl InputEventGesture
[src]
pub fn as_input_event_with_modifiers(&self) -> InputEventWithModifiers
[src]
Up-cast.
pub fn set_position(&mut self, position: Vector2)
[src]
pub fn get_position(&self) -> Vector2
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Methods from Deref<Target = InputEventWithModifiers>
pub fn as_input_event(&self) -> InputEvent
[src]
Up-cast.
pub fn set_alt(&mut self, enable: bool)
[src]
pub fn get_alt(&self) -> bool
[src]
pub fn set_shift(&mut self, enable: bool)
[src]
pub fn get_shift(&self) -> bool
[src]
pub fn set_control(&mut self, enable: bool)
[src]
pub fn get_control(&self) -> bool
[src]
pub fn set_metakey(&mut self, enable: bool)
[src]
pub fn get_metakey(&self) -> bool
[src]
pub fn set_command(&mut self, enable: bool)
[src]
pub fn get_command(&self) -> bool
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for InputEventGesture
[src]
fn class_name() -> &'static str
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn to_sys(&self) -> *mut godot_object
[src]
impl Deref for InputEventGesture
[src]
type Target = InputEventWithModifiers
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.