Expand description
A prelude for user interface development, meant to be glob-imported.
Re-exports§
Modules§
- crabslab
- Creating and crafting a tasty slab of memory.
Structs§
- Array
- A pointer to contiguous
T
elements in a slab. - CpuRuntime
- A runtime that only operates on the CPU.
- Gpu
- A type that lives only on the GPU.
- GpuArray
- A array type that lives on the GPU.
- GpuArray
Container - GpuContainer
- Hybrid
- A “hybrid” type that lives on the CPU and the GPU.
- Hybrid
Array - A “hybrid” array type that lives on the CPU and the GPU.
- Hybrid
Array Container - Hybrid
Container - Hybrid
Write Guard - RAII structure used to update a
[Hybrid<T>]
. - Id
- An identifier that can be used to read or write a type from/into the slab.
- NoContainer
- A type that represents no container, just the value itself.
- Slab
Allocator - Manages slab allocations and updates over a parameterised buffer.
- Slab
Buffer - A thin wrapper around a buffer
T
that provides the ability to tell if the buffer has been invalidated by theSlabAllocator
that it originated from. - Slab
Update - An update to a slab.
- Source
Id - An identifier for a unique source of updates.
- VecSlab
- A slab buffer used only on the GPU.
- Weak
Container - WeakGpu
- Weak
GpuContainer - Weak
GpuRef - Weak
Hybrid - A hybrid value that holds a non-owning reference to the underlying data.
- Wgpu
Runtime - A slab allocation runtime that creates and updates [
wgpu::Buffer
]s.
Enums§
Traits§
- IsContainer
- An abstraction over the container type of a hybrid value of
T
. - IsRuntime
- Represents the runtime that provides the interface to the GPU buffer.