Luna::VariantNumberType

enum VariantNumberType : u8
{
    not_number= 0
    number_i64= 1
    number_u64= 2
    number_f64= 3
}

Defines all possible number types of one number variant.

Remark

To fetch the number type of one number variant, call Variant::number_type.

Options

  • not_number

    This variant is not a number variant.

  • number_i64

    The number is stored in signed 64-bit integer format.

  • number_u64

    The number is stored in unsigned 64-bit integer format.

  • number_f64

    The number is stored in 64-bit floating-point format.