Struct gdnative::Physics2DShapeQueryResult
[−]
[src]
pub struct Physics2DShapeQueryResult { /* fields omitted */ }
core class Physics2DShapeQueryResult : Reference
(reference counted)
Base class
Physics2DShapeQueryResult inherits Reference and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl Physics2DShapeQueryResult
[src]
pub fn as_reference(&self) -> Reference
[src]
Up-cast.
pub fn get_result_count(&self) -> i64
[src]
pub fn get_result_rid(&self, idx: i64) -> Rid
[src]
pub fn get_result_object_id(&self, idx: i64) -> i64
[src]
pub fn get_result_object(&self, idx: i64) -> Option<Object>
[src]
pub fn get_result_object_shape(&self, idx: i64) -> i64
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Methods from Deref<Target = Reference>
pub fn as_object(&self) -> Object
[src]
Up-cast.
pub fn init_ref(&mut self) -> bool
[src]
pub fn reference(&mut self) -> bool
[src]
pub fn unreference(&mut self) -> bool
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for Physics2DShapeQueryResult
[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 Physics2DShapeQueryResult
[src]
type Target = Reference
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.