pub struct StridedBufferRef<'data> { /* private fields */ }
Expand description

A reference to byte of a strided matrix.

Implementations

Construct a reference to a strided image buffer.

View bytes under a certain strided layout.

Unlike an image, the data need only be aligned to the element mentioned in the layout and not to the maximum alignment.

Shrink the element’s size or alignment.

Borrow this as a reference to a strided byte matrix.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.