[][src]Struct gdnative_core::user_data::ArcData

pub struct ArcData<T>(_);

User-data wrapper encapsulating a Arc<T>. Does not implement MapMut.

Trait Implementations

impl<T> Clone for ArcData<T>[src]

impl<T: Debug> Debug for ArcData<T>[src]

impl<T> Map for ArcData<T> where
    T: NativeClass + Send + Sync
[src]

type Err = Infallible

impl<T> UserData for ArcData<T> where
    T: NativeClass + Send + Sync
[src]

type Target = T

Auto Trait Implementations

impl<T> RefUnwindSafe for ArcData<T> where
    T: RefUnwindSafe

impl<T> Send for ArcData<T> where
    T: Send + Sync

impl<T> Sync for ArcData<T> where
    T: Send + Sync

impl<T> Unpin for ArcData<T>

impl<T> UnwindSafe for ArcData<T> where
    T: RefUnwindSafe

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> 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.