[][src]Struct nannou::vk::CpuBufferPoolSubbuffer

pub struct CpuBufferPoolSubbuffer<T, A> where
    A: MemoryPool
{ /* fields omitted */ }

A subbuffer allocated from a CpuBufferPool.

When this object is destroyed, the subbuffer is automatically reclaimed by the pool.

Trait Implementations

impl<T, A> DeviceOwned for CpuBufferPoolSubbuffer<T, A> where
    A: MemoryPool
[src]

impl<T, A> BufferAccess for CpuBufferPoolSubbuffer<T, A> where
    A: MemoryPool
[src]

fn as_buffer_slice(&self) -> BufferSlice<Self::Content, &Self> where
    Self: TypedBufferAccess
[src]

Builds a BufferSlice object holding the buffer by reference.

fn slice<T>(&self, range: Range<usize>) -> Option<BufferSlice<[T], &Self>> where
    Self: TypedBufferAccess<Content = [T]>, 
[src]

Builds a BufferSlice object holding part of the buffer by reference. Read more

fn into_buffer_slice(self) -> BufferSlice<Self::Content, Self> where
    Self: TypedBufferAccess
[src]

Builds a BufferSlice object holding the buffer by value.

fn index<T>(&self, index: usize) -> Option<BufferSlice<[T], &Self>> where
    Self: TypedBufferAccess<Content = [T]>, 
[src]

Builds a BufferSlice object holding part of the buffer by reference. Read more

impl<T, A> TypedBufferAccess for CpuBufferPoolSubbuffer<T, A> where
    A: MemoryPool
[src]

type Content = T

The type of the content.

fn len(&self) -> usize where
    Self::Content: Content
[src]

Returns the length of the buffer in number of elements. Read more

impl<T, A> Clone for CpuBufferPoolSubbuffer<T, A> where
    A: MemoryPool
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T, A> Send for CpuBufferPoolSubbuffer<T, A> where
    T: Send,
    <A as MemoryPool>::Alloc: Send + Sync

impl<T, A> Sync for CpuBufferPoolSubbuffer<T, A> where
    T: Sync,
    <A as MemoryPool>::Alloc: Send + Sync

Blanket Implementations

impl<T> From<T> for T[src]

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, 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeviceOwned for T where
    T: Deref,
    <T as Deref>::Target: DeviceOwned
[src]

impl<T> TypedBufferAccess for T where
    T: SafeDeref,
    <T as Deref>::Target: TypedBufferAccess
[src]

type Content = <<T as Deref>::Target as TypedBufferAccess>::Content

The type of the content.

fn len(&self) -> usize where
    Self::Content: Content
[src]

Returns the length of the buffer in number of elements. Read more

impl<T> Content for T[src]

impl<T> BufferAccess for T where
    T: SafeDeref,
    <T as Deref>::Target: BufferAccess
[src]

fn as_buffer_slice(&self) -> BufferSlice<Self::Content, &Self> where
    Self: TypedBufferAccess
[src]

Builds a BufferSlice object holding the buffer by reference.

fn slice<T>(&self, range: Range<usize>) -> Option<BufferSlice<[T], &Self>> where
    Self: TypedBufferAccess<Content = [T]>, 
[src]

Builds a BufferSlice object holding part of the buffer by reference. Read more

fn into_buffer_slice(self) -> BufferSlice<Self::Content, Self> where
    Self: TypedBufferAccess
[src]

Builds a BufferSlice object holding the buffer by value.

fn index<T>(&self, index: usize) -> Option<BufferSlice<[T], &Self>> where
    Self: TypedBufferAccess<Content = [T]>, 
[src]

Builds a BufferSlice object holding part of the buffer by reference. Read more

impl<T> SafeBorrow<T> for T[src]

impl<T> Erased for T

impl<S> FromSample<S> for S[src]

impl<T, U> ToSample<U> for T where
    U: FromSample<T>, 
[src]

impl<S, T> Duplex<S> for T where
    T: FromSample<S> + ToSample<S>, 
[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.