[−][src]Struct nannou::vk::CpuBufferPoolSubbuffer
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]
A: MemoryPool,
impl<T, A> BufferAccess for CpuBufferPoolSubbuffer<T, A> where
A: MemoryPool,
[src]
A: MemoryPool,
fn inner(&self) -> BufferInner
[src]
fn size(&self) -> usize
[src]
fn conflicts_buffer(&self, other: &dyn BufferAccess) -> bool
[src]
fn conflicts_image(&self, other: &dyn ImageAccess) -> bool
[src]
fn conflict_key(&self) -> (u64, usize)
[src]
fn try_gpu_lock(&self, e: bool, q: &Queue) -> Result<(), AccessError>
[src]
unsafe fn increase_gpu_lock(&self)
[src]
unsafe fn unlock(&self)
[src]
fn as_buffer_slice(&self) -> BufferSlice<Self::Content, &Self> where
Self: TypedBufferAccess,
[src]
Self: TypedBufferAccess,
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]
Self: TypedBufferAccess<Content = [T]>,
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]
Self: TypedBufferAccess,
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]
Self: TypedBufferAccess<Content = [T]>,
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]
A: MemoryPool,
type Content = T
The type of the content.
fn len(&self) -> usize where
Self::Content: Content,
[src]
Self::Content: Content,
Returns the length of the buffer in number of elements. Read more
impl<T, A> Clone for CpuBufferPoolSubbuffer<T, A> where
A: MemoryPool,
[src]
A: MemoryPool,
fn clone(&self) -> CpuBufferPoolSubbuffer<T, A>
[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,
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,
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]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeviceOwned for T where
T: Deref,
<T as Deref>::Target: DeviceOwned,
[src]
T: Deref,
<T as Deref>::Target: DeviceOwned,
impl<T> TypedBufferAccess for T where
T: SafeDeref,
<T as Deref>::Target: TypedBufferAccess,
[src]
T: SafeDeref,
<T as Deref>::Target: TypedBufferAccess,
type Content = <<T as Deref>::Target as TypedBufferAccess>::Content
The type of the content.
fn len(&self) -> usize where
Self::Content: Content,
[src]
Self::Content: Content,
Returns the length of the buffer in number of elements. Read more
impl<T> Content for T
[src]
fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
fn is_size_suitable(size: usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> BufferAccess for T where
T: SafeDeref,
<T as Deref>::Target: BufferAccess,
[src]
T: SafeDeref,
<T as Deref>::Target: BufferAccess,
fn inner(&self) -> BufferInner
[src]
fn size(&self) -> usize
[src]
fn conflicts_buffer(&self, other: &dyn BufferAccess) -> bool
[src]
fn conflicts_image(&self, other: &dyn ImageAccess) -> bool
[src]
fn conflict_key(&self) -> (u64, usize)
[src]
fn try_gpu_lock(
&self,
exclusive_access: bool,
queue: &Queue
) -> Result<(), AccessError>
[src]
&self,
exclusive_access: bool,
queue: &Queue
) -> Result<(), AccessError>
unsafe fn increase_gpu_lock(&self)
[src]
unsafe fn unlock(&self)
[src]
fn as_buffer_slice(&self) -> BufferSlice<Self::Content, &Self> where
Self: TypedBufferAccess,
[src]
Self: TypedBufferAccess,
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]
Self: TypedBufferAccess<Content = [T]>,
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]
Self: TypedBufferAccess,
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]
Self: TypedBufferAccess<Content = [T]>,
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]
fn from_sample_(s: S) -> S
[src]
impl<T, U> ToSample<U> for T where
U: FromSample<T>,
[src]
U: FromSample<T>,
fn to_sample_(self) -> U
[src]
impl<S, T> Duplex<S> for T where
T: FromSample<S> + ToSample<S>,
[src]
T: FromSample<S> + ToSample<S>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
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>,
T: Parameter<Self>,
Sets value
as a parameter of self
.