[][src]Struct assets_manager::AssetRef

pub struct AssetRef<'a, A> { /* fields omitted */ }

RAII guard used to keep a read lock on an asset and release it when dropped.

It can be obtained by calling AssetRefLock::read.

Trait Implementations

impl<'_, A> Debug for AssetRef<'_, A> where
    A: Debug
[src]

impl<'_, A> Deref for AssetRef<'_, A>[src]

type Target = A

The resulting type after dereferencing.

impl<'_, A> Display for AssetRef<'_, A> where
    A: Display
[src]

Auto Trait Implementations

impl<'a, A> !RefUnwindSafe for AssetRef<'a, A>

impl<'a, A> !Send for AssetRef<'a, A>

impl<'a, A> Sync for AssetRef<'a, A> where
    A: Sync

impl<'a, A> Unpin for AssetRef<'a, A>

impl<'a, A> !UnwindSafe for AssetRef<'a, A>

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> ToString for T where
    T: Display + ?Sized
[src]

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.