[−][src]Trait vulkano::buffer::TypedBufferAccess
Extension trait for BufferAccess
. Indicates the type of the content of the buffer.
Associated Types
Loading content...Provided methods
fn len(&self) -> usize where
Self::Content: Content,
Self::Content: Content,
Returns the length of the buffer in number of elements.
This method can only be called for buffers whose type is known to be an array.
Implementors
impl<T> TypedBufferAccess for T where
T: SafeDeref,
T::Target: TypedBufferAccess,
[src]
T: SafeDeref,
T::Target: TypedBufferAccess,
type Content = <T::Target as TypedBufferAccess>::Content
impl<T, A> TypedBufferAccess for CpuBufferPoolChunk<T, A> where
A: MemoryPool,
[src]
A: MemoryPool,
impl<T, A> TypedBufferAccess for CpuBufferPoolSubbuffer<T, A> where
A: MemoryPool,
[src]
A: MemoryPool,
type Content = T
impl<T: ?Sized, A> TypedBufferAccess for CpuAccessibleBuffer<T, A> where
T: 'static + Send + Sync,
[src]
T: 'static + Send + Sync,
type Content = T
impl<T: ?Sized, A> TypedBufferAccess for DeviceLocalBuffer<T, A> where
T: 'static + Send + Sync,
[src]
T: 'static + Send + Sync,
type Content = T
impl<T: ?Sized, A> TypedBufferAccess for ImmutableBuffer<T, A>
[src]
type Content = T
impl<T: ?Sized, A> TypedBufferAccess for ImmutableBufferInitialization<T, A>
[src]
type Content = T
impl<T: ?Sized, B> TypedBufferAccess for BufferSlice<T, B> where
B: BufferAccess,
[src]
B: BufferAccess,