Struct gdnative_visual_script::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 Ridpub fn new() -> Rid
pub fn new() -> Ridpub fn get_id(&self) -> i32
pub fn get_id(&self) -> i32pub fn operator_less(&self, b: &Rid) -> bool
pub fn operator_less(&self, b: &Rid) -> boolpub fn is_valid(&self) -> bool
pub fn is_valid(&self) -> boolTrait Implementations
impl PartialOrd<Rid> for Rid
impl PartialOrd<Rid> for Ridfn 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) -> bool1.0.0[src]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
fn ge(&self, other: &Rhs) -> boolThis 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 Ridfn clone(&self) -> Rid
fn clone(&self) -> RidReturns 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 Ridfn 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 Variantimpl Default for Rid
impl Default for Ridimpl Copy for Rid
impl Copy for Ridimpl Eq for Rid
impl Eq for Ridimpl PartialEq<Rid> for Rid
impl PartialEq<Rid> for Rid