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 Debug for RawBuffer
[src]

Formats the value using the given formatter.

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

Performs the conversion.