Module proc
Available on crate feature
unstable-wgpu-24
only.Expand description
Module
processing functionality.
Modules§
- index
- Definitions for index bounds checking.
Structs§
- Alignment
- A newtype struct where its only valid values are powers of 2
- Bounds
Check Policies - Policies for injecting bounds checks during code generation.
- Constant
Evaluator - A context for evaluating constant expressions.
- Emitter
- Helper class to emit expressions
- Expression
Kind Tracker - Global
Ctx - Layout
Error - Layouter
- Helper processor that derives the sizes of all types.
- Namer
- This processor assigns names to all the things in a module that may need identifiers in a textual backend.
- Resolve
Context - Type
Layout - Size and alignment information for a type.
Enums§
- Bounds
Check Policy - How should code generated by Naga do bounds checks?
- Constant
Evaluator Error - Expression
Kind - Hashable
Literal - Indexable
Length - The number of elements in an indexable type.
- Indexable
Length Error - Layout
Error Inner - NameKey
- Resolve
Error - Type
Resolution - The result of computing an expression’s type.
Constants§
Functions§
- ensure_
block_ returns - Ensure that the given block has return statements at the end of its control flow.
- flatten_
compose - Return an iterator over the individual components assembled by a
Compose
expression.