[−][src]Struct luminance::buffer::BufferSlice
A buffer slice mapped into GPU memory.
Such a slice allows you to read the data contained in a buffer directly via a Rust slice.
While a buffer is mapped, the buffer is sealed and no one can use it. You need to drop the
BufferSlice
in order to unlock the buffer.
Trait Implementations
impl<'a, T> Drop for BufferSlice<'a, T> where
T: 'a,
[src]
T: 'a,
impl<'a, 'b, T> IntoIterator for &'b BufferSlice<'a, T> where
T: 'a,
[src]
T: 'a,
type IntoIter = Iter<'b, T>
Which kind of iterator are we turning this into?
type Item = &'b T
The type of the elements being iterated over.
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a, T> Deref for BufferSlice<'a, T> where
T: 'a,
[src]
T: 'a,
Auto Trait Implementations
impl<'a, T> !Sync for BufferSlice<'a, T>
impl<'a, T> !Send for BufferSlice<'a, T>
impl<'a, T> Unpin for BufferSlice<'a, T>
impl<'a, T> !UnwindSafe for BufferSlice<'a, T>
impl<'a, T> !RefUnwindSafe for BufferSlice<'a, T>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,