Macros§
- __
with_ 🔒dollar_ sign - __
with_ 🔒dollar_ sign - __
with_ 🔒dollar_ sign - __
with_ 🔒dollar_ sign - component_
wise_ 🔒concrete_ int - A convenience macro for using the same RHS for each
ConcreteInt
variant in a call tocomponent_wise_concrete_int
. - component_
wise_ 🔒float - A convenience macro for using the same RHS for each
Float
variant in a call tocomponent_wise_float
. - component_
wise_ 🔒scalar - A convenience macro for using the same RHS for each
Scalar
variant in a call tocomponent_wise_scalar
. - component_
wise_ 🔒signed - A convenience macro for using the same RHS for each
Signed
variant in a call tocomponent_wise_signed
. - gen_
component_ 🔒wise_ extractor - with_
dollar_ 🔒sign - A macro that allows dollar signs (
$
) to be emitted by other macros. Useful for generatingmacro_rules!
items that, in turn, emit their ownmacro_rules!
items.
Structs§
- Constant
Evaluator - A context for evaluating constant expressions.
- Expression
Kind Tracker - Function
Local 🔒Data
Enums§
- Behavior 🔒
- Concrete
Int 🔒 - A subset of
Literal
s intended to be used for implementing numeric built-ins. - Constant
Evaluator Error - Expression
Kind - Float 🔒
- A subset of
Literal
s intended to be used for implementing numeric built-ins. - Glsl
Restrictions 🔒 - Scalar 🔒
- A subset of
Literal
s intended to be used for implementing numeric built-ins. - Signed 🔒
- A subset of
Literal
s intended to be used for implementing numeric built-ins. - Wgsl
Restrictions 🔒
Traits§
- TryFrom
Abstract 🔒 - Trait for conversions of abstract values to concrete types.
Functions§
- component_
wise_ 🔒concrete_ int - Attempts to evaluate multiple
exprs
as a combinedConcreteInt
to pass tohandler
. Ifexprs
are vectors of the same length,handler
is called for each corresponding component of each vector. - component_
wise_ 🔒float - Attempts to evaluate multiple
exprs
as a combinedFloat
to pass tohandler
. Ifexprs
are vectors of the same length,handler
is called for each corresponding component of each vector. - component_
wise_ 🔒scalar - Attempts to evaluate multiple
exprs
as a combinedScalar
to pass tohandler
. Ifexprs
are vectors of the same length,handler
is called for each corresponding component of each vector. - component_
wise_ 🔒signed - Attempts to evaluate multiple
exprs
as a combinedSigned
to pass tohandler
. Ifexprs
are vectors of the same length,handler
is called for each corresponding component of each vector. - cross_
product 🔒 - first_
leading_ 🔒bit - first_
trailing_ 🔒bit