Struct luminance::buffer::RawBuffer
[−]
[src]
pub struct RawBuffer { /* fields omitted */ }
Raw buffer. Any buffer can be converted to that type. However, keep in mind that even though type erasure is safe, creating a buffer from a raw buffer is not.
Methods
impl RawBuffer
[src]
fn as_slice<T>(&self) -> Result<BufferSlice<T>, BufferError>
[src]
Obtain an immutable slice view into the buffer.
fn as_slice_mut<T>(&mut self) -> Result<BufferSliceMut<T>, BufferError>
[src]
Obtain a mutable slice view into the buffer.
Trait Implementations
impl Debug for RawBuffer
[src]
impl Eq for RawBuffer
[src]
impl PartialEq for RawBuffer
[src]
fn eq(&self, __arg_0: &RawBuffer) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RawBuffer) -> bool
[src]
This method tests for !=
.