Struct gdnative_core::core_types::rid::Rid[][src]

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.

Implementations

impl Rid[src]

pub fn new() -> Self[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 FromVariant for Rid[src]

impl PartialEq<Rid> for Rid[src]

impl PartialOrd<Rid> for Rid[src]

impl ToVariant for Rid[src]

impl ToVariantEq for Rid[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> OwnedToVariant for T where
    T: ToVariant
[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.