Enum roogle_engine::types::PrimitiveType[][src]

pub enum PrimitiveType {
Show 25 variants Isize, I8, I16, I32, I64, I128, Usize, U8, U16, U32, U64, U128, F32, F64, Char, Bool, Str, Slice, Array, Tuple, Unit, RawPointer, Reference, Fn, Never,
}
Expand description

N.B. this has to be different from hir::PrimTy because it also includes types that aren’t paths, like Unit.

Variants

Isize
I8
I16
I32
I64
I128
Usize
U8
U16
U32
U64
U128
F32
F64
Char
Bool
Str
Slice
Array
Tuple
Unit
RawPointer
Reference
Fn
Never

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.