Interface IVariantType
Assembly: WaaS.Core.dll
View Source
Declaration
public interface IVariantType : IDespecializedValueType, IValueType, IType, ISortedExportable, ISorted
Derived:
WaaS.ComponentModel.Models.ResolvedVariantType
Properties
Cases
View Source
Declaration
ReadOnlyMemory<IVariantCase> Cases { get; }
DiscriminantTypeSizeRank
log2 of the size of the discriminant: 0 (u8), 1 (u16) or 2 (u32).
View Source
Declaration
byte DiscriminantTypeSizeRank { get; }
MaxCaseAlignmentRank
The maximum alignment (log2) of the payloads, to which the payload is aligned.
View Source
Declaration
byte MaxCaseAlignmentRank { get; }