Module layout
Expand description
Buffer-layout-specific traits for user-defined behavior.
Layout
’s job is to split a buffer into sub-slices that will then be distributed to tile to
be rendered, and to write color data to these sub-slices.
Structs§
- An iterator returned by
Span::chunks
. - A linear buffer layout where each optionally strided pixel row of an image is saved sequentially into the buffer.
- A reference wrapper returned by
SliceCache::access
. - A
slice
wrapper produced bySliceCache::access
. - A cache of non-overlapping mutable sub-slices of that enforces lifetimes dynamically.
- A marker produced by
SliceCache
that ensures that all resultingSpan
s will be mutually non-overlapping.
Enums§
- A fill that the
Layout
uses to write to tiles.
Traits§
- Listener that gets called after every write to the buffer. Its main use is to flush freshly written memory slices.
- A buffer’s layout description.