LayoutPermutationVariant class
One named packed-layout permutation candidate.
Different variants may use different elementWidth values as long as their complete packed widths match. This lets one runtime selector choose among byte, word, subword, floating-point, or other format-specific layouts while keeping numeric interpretation outside the permutation component.
- Annotations
Constructors
- LayoutPermutationVariant({required String identity, required PermutationDescriptor descriptor, required int elementWidth})
-
Creates a packed layout variant.
const
Properties
- configurationSignature → String
-
Stable configuration signature.
no setter
- descriptor → PermutationDescriptor
-
Compile-time output-to-source element mapping.
final
- elementWidth → int
-
Width of one element under this layout interpretation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identity → String
-
Stable identity used in generated module definitions.
final
- packedWidth → int
-
Total packed width consumed and produced by this variant.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited