StructAlignment enum
Alignment options for struct fields
Values
- packed → const StructAlignment
-
No alignment, pack tightly
const StructAlignment(1)
- align2 → const StructAlignment
-
2-byte alignment
const StructAlignment(2)
- align4 → const StructAlignment
-
4-byte alignment (default for most platforms)
const StructAlignment(4)
- align8 → const StructAlignment
-
8-byte alignment
const StructAlignment(8)
- align16 → const StructAlignment
-
16-byte alignment (for SIMD)
const StructAlignment(16)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
The integer value representing the alignment
final
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
Constants
-
values
→ const List<
StructAlignment> - A constant List of the values in this enum, in order of their declaration.