Struct gdnative_physics::common::Rid [−]
pub struct Rid(_);
The RID type is used to access the unique integer ID of a resource. They are opaque, so they do not grant access to the associated resource by themselves.
Methods
impl Rid
impl Rid
pub fn new() -> Rid
pub fn new() -> Rid
pub fn get_id(&self) -> i32
pub fn get_id(&self) -> i32
pub fn operator_less(&self, b: &Rid) -> bool
pub fn operator_less(&self, b: &Rid) -> bool
pub fn is_valid(&self) -> bool
pub fn is_valid(&self) -> bool
Trait Implementations
impl PartialOrd<Rid> for Rid
impl PartialOrd<Rid> for Rid
fn partial_cmp(&self, other: &Rid) -> Option<Ordering>
fn partial_cmp(&self, other: &Rid) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Clone for Rid
impl Clone for Rid
fn clone(&self) -> Rid
fn clone(&self) -> Rid
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Rid
impl Debug for Rid
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'l> From<&'l Rid> for Variant
impl<'l> From<&'l Rid> for Variant
impl Default for Rid
impl Default for Rid
impl Copy for Rid
impl Copy for Rid
impl Eq for Rid
impl Eq for Rid
impl PartialEq<Rid> for Rid
impl PartialEq<Rid> for Rid