[−][src]Struct gdnative::user_data::ArcData
User-data wrapper encapsulating a Arc<T>
. Does not implement MapMut
.
Trait Implementations
impl<T> Clone for ArcData<T>
[src]
impl<T> Debug for ArcData<T> where
T: Debug,
[src]
T: Debug,
impl<T> Map for ArcData<T> where
T: NativeClass + Send + Sync,
[src]
T: NativeClass + Send + Sync,
type Err = Infallible
fn map<F, U>(&self, op: F) -> Result<U, Infallible> where
F: FnOnce(&T) -> U,
[src]
F: FnOnce(&T) -> U,
impl<T> UserData for ArcData<T> where
T: NativeClass + Send + Sync,
[src]
T: NativeClass + Send + Sync,
Auto Trait Implementations
impl<T> RefUnwindSafe for ArcData<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for ArcData<T> where
T: Send + Sync,
T: Send + Sync,
impl<T> Sync for ArcData<T> where
T: Send + Sync,
T: Send + Sync,
impl<T> Unpin for ArcData<T>
impl<T> UnwindSafe for ArcData<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,