Enum cpp_to_rust::cpp_type::CppBuiltInNumericType [] [src]

pub enum CppBuiltInNumericType {
    Bool,
    Char,
    SChar,
    UChar,
    WChar,
    Char16,
    Char32,
    Short,
    UShort,
    Int,
    UInt,
    Long,
    ULong,
    LongLong,
    ULongLong,
    Int128,
    UInt128,
    Float,
    Double,
    LongDouble,
}

Available built-in C++ numeric types. All these types have corresponding clang::TypeKind values (except for CharS and CharU which map to CppBuiltInNumericType::Char)

Variants

Methods

impl CppBuiltInNumericType
[src]

Trait Implementations

impl Hash for CppBuiltInNumericType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for CppBuiltInNumericType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CppBuiltInNumericType
[src]

impl PartialEq for CppBuiltInNumericType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for CppBuiltInNumericType
[src]

Formats the value using the given formatter.