[][src]Struct ash_tray::vk_helper::RcBuffer

pub struct RcBuffer<T: Clone> {
    pub inner: Buffer,
    pub allocator: Allocator<T>,
    pub allocation: Allocation,
    pub user: T,
}

Fields

inner: Bufferallocator: Allocator<T>allocation: Allocationuser: T

Methods from Deref<Target = Buffer>

Trait Implementations

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

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

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

type Target = Buffer

The resulting type after dereferencing.

impl<T: Clone> Debug for RcBuffer<T>[src]

Auto Trait Implementations

impl<T> !Send for RcBuffer<T>

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

impl<T> !Sync for RcBuffer<T>

impl<T> !UnwindSafe for RcBuffer<T>

impl<T> !RefUnwindSafe for RcBuffer<T>

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]