[][src]Struct gdnative::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[src]

pub fn new() -> Rid[src]

pub fn get_id(&self) -> i32[src]

pub fn operator_less(&self, b: &Rid) -> bool[src]

pub fn is_valid(&self) -> bool[src]

Trait Implementations

impl Clone for Rid[src]

impl Copy for Rid[src]

impl Debug for Rid[src]

impl Default for Rid[src]

impl Eq for Rid[src]

impl Export for Rid[src]

type Hint = ()

A type-specific hint type that is valid for the type being exported.

impl<'l> From<&'l Rid> for Variant[src]

impl FromVariant for Rid[src]

impl PartialEq<Rid> for Rid[src]

impl PartialOrd<Rid> for Rid[src]

impl ToVariant for Rid[src]

Auto Trait Implementations

impl RefUnwindSafe for Rid

impl Send for Rid

impl Sync for Rid

impl Unpin for Rid

impl UnwindSafe for Rid

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Export for T where
    T: GodotObject + ToVariant
[src]

type Hint = ()

A type-specific hint type that is valid for the type being exported.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.