Expand description
Two-dimensional buffers, with owned and borrowed variants.
Useful for storing pixel data of any kind, among other things.
Modules§
Structs§
- Buf2
- A rectangular 2D buffer that owns its elements, backed by a
Vec. - MutSlice2
- A mutable rectangular view to a region of a
Buf2, aSlice2, or in general any&[T]slice of memory. - Slice2
- An immutable rectangular view to a region of a
Buf2, anotherSlice2, or in general any&[T]slice of memory. A two-dimensional analog to&[T].
Traits§
- AsMut
Slice2 - A trait for types that can provide a mutable view of their data
as a
MutSlice2. - AsSlice2
- A trait for types that can provide a view of their data as a
Slice2.