[][src]Struct ash_tray::vk_helper::RcInstance

pub struct RcInstance<T: Clone> {
    pub inner: VkInstance,
    pub user: T,
}

Fields

inner: VkInstanceuser: T

Methods from Deref<Target = VkInstance>

Trait Implementations

impl<T: Clone> Drop for RcInstance<T>[src]

impl<T: Clone> Clone for RcInstance<T>[src]

impl<T: Clone> Deref for RcInstance<T>[src]

type Target = VkInstance

The resulting type after dereferencing.

Auto Trait Implementations

impl<T> Send for RcInstance<T> where
    T: Send

impl<T> Unpin for RcInstance<T> where
    T: Unpin

impl<T> Sync for RcInstance<T> where
    T: Sync

impl<T> UnwindSafe for RcInstance<T> where
    T: UnwindSafe

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

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[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.

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

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

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