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]

[src]

Obtain an immutable slice view into the buffer.

[src]

Obtain a mutable slice view into the buffer.

Trait Implementations

impl Debug for RawBuffer
[src]

[src]

Formats the value using the given formatter.

impl Eq for RawBuffer
[src]

impl PartialEq for RawBuffer
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

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

[src]

Performs the conversion.