Struct gdnative::InputEventPanGesture
[−]
[src]
pub struct InputEventPanGesture { /* fields omitted */ }
core class InputEventPanGesture : InputEventGesture
(reference counted)
Base class
InputEventPanGesture inherits InputEventGesture and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl InputEventPanGesture
[src]
pub fn as_input_event_gesture(&self) -> InputEventGesture
[src]
Up-cast.
pub fn new() -> Self
[src]
pub fn new_ref(&self) -> Self
[src]
Creates a new reference to the same object.
pub fn set_delta(&mut self, delta: Vector2)
[src]
pub fn get_delta(&self) -> Vector2
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Methods from Deref<Target = InputEventGesture>
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]
Trait Implementations
impl GodotObject for InputEventPanGesture
[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 InputEventPanGesture
[src]
type Target = InputEventGesture
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.