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]

Obtain an immutable slice view into the buffer.

Obtain a mutable slice view into the buffer.

Trait Implementations

impl Drop for RawBuffer
[src]

Executes the destructor for this type. Read more

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

Performs the conversion.

Auto Trait Implementations

impl !Send for RawBuffer

impl !Sync for RawBuffer