Struct gdnative::InputEventScreenTouch [−][src]
pub struct InputEventScreenTouch { /* fields omitted */ }
core class InputEventScreenTouch : InputEvent
(reference counted)
Base class
InputEventScreenTouch inherits InputEvent and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl InputEventScreenTouch
[src]
impl InputEventScreenTouch
pub fn as_input_event(&self) -> InputEvent
[src]
pub fn as_input_event(&self) -> InputEvent
Up-cast.
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn new_ref(&self) -> Self
[src]
pub fn new_ref(&self) -> Self
Creates a new reference to the same object.
pub fn set_index(&mut self, index: i64)
[src]
pub fn set_index(&mut self, index: i64)
pub fn get_index(&self) -> i64
[src]
pub fn get_index(&self) -> i64
pub fn set_position(&mut self, position: Vector2)
[src]
pub fn set_position(&mut self, position: Vector2)
pub fn get_position(&self) -> Vector2
[src]
pub fn get_position(&self) -> Vector2
pub fn set_pressed(&mut self, pressed: bool)
[src]
pub fn set_pressed(&mut self, pressed: bool)
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Methods from Deref<Target = InputEvent>
pub fn as_resource(&self) -> Resource
[src]
pub fn as_resource(&self) -> Resource
Up-cast.
pub fn set_device(&mut self, device: i64)
[src]
pub fn set_device(&mut self, device: i64)
pub fn get_device(&self) -> i64
[src]
pub fn get_device(&self) -> i64
pub fn is_pressed(&self) -> bool
[src]
pub fn is_pressed(&self) -> bool
pub fn is_action(&self, action: GodotString) -> bool
[src]
pub fn is_action(&self, action: GodotString) -> bool
pub fn is_action_pressed(&self, action: GodotString) -> bool
[src]
pub fn is_action_pressed(&self, action: GodotString) -> bool
pub fn is_action_released(&self, action: GodotString) -> bool
[src]
pub fn is_action_released(&self, action: GodotString) -> bool
pub fn is_echo(&self) -> bool
[src]
pub fn is_echo(&self) -> bool
pub fn as_text(&self) -> GodotString
[src]
pub fn as_text(&self) -> GodotString
pub fn action_match(&self, event: Option<InputEvent>) -> bool
[src]
pub fn action_match(&self, event: Option<InputEvent>) -> bool
pub fn shortcut_match(&self, event: Option<InputEvent>) -> bool
[src]
pub fn shortcut_match(&self, event: Option<InputEvent>) -> bool
pub fn is_action_type(&self) -> bool
[src]
pub fn is_action_type(&self) -> bool
pub fn xformed_by(
&self,
xform: Transform2D,
local_ofs: Vector2
) -> Option<InputEvent>
[src]
pub fn xformed_by(
&self,
xform: Transform2D,
local_ofs: Vector2
) -> Option<InputEvent>
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Trait Implementations
impl GodotObject for InputEventScreenTouch
[src]
impl GodotObject for InputEventScreenTouch
fn class_name() -> &'static str
[src]
fn class_name() -> &'static str
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
unsafe fn to_sys(&self) -> *mut godot_object
[src]
unsafe fn to_sys(&self) -> *mut godot_object
impl Deref for InputEventScreenTouch
[src]
impl Deref for InputEventScreenTouch
type Target = InputEvent
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl DerefMut for InputEventScreenTouch
[src]
impl DerefMut for InputEventScreenTouch
impl Drop for InputEventScreenTouch
[src]
impl Drop for InputEventScreenTouch
Auto Trait Implementations
impl !Send for InputEventScreenTouch
impl !Send for InputEventScreenTouch
impl !Sync for InputEventScreenTouch
impl !Sync for InputEventScreenTouch