//! Primitives types that can cross the FFI boundary. usecrate::ast;
/// 8, 16, 32, and 64-bit signed and unsigned integers. #[derive(Copy, Clone, Debug)] #[allow(clippy::exhaustive_enums)] // there are only these pubenum IntType {
I8,
I16,
I32,
I64,
U8,
U16,
U32,
U64,
}
/// Platform-dependent signed and unsigned size types. #[derive(Copy, Clone, Debug)] #[allow(clippy::exhaustive_enums)] // there are only these pubenum IntSizeType {
Isize,
Usize,
}
/// 128-bit signed and unsigned integers. #[derive(Copy, Clone, Debug)] #[allow(clippy::exhaustive_enums)] // there are only these pubenum Int128Type {
I128,
U128,
}
/// 32 and 64-bit floating point numbers. #[derive(Copy, Clone, Debug)] #[allow(clippy::exhaustive_enums)] // there are only these pubenum FloatType {
F32,
F64,
}
/// All primitive types. #[derive(Copy, Clone, Debug)] #[allow(clippy::exhaustive_enums)] // there are only these pubenum PrimitiveType {
Bool,
Char, /// a primitive byte that is not meant to be interpreted numerically /// in languages that don't have fine-grained integer types
Byte,
Int(IntType),
IntSize(IntSizeType),
Int128(Int128Type),
Float(FloatType),
}
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.1Bemerkung:
(vorverarbeitet am 2026-06-23)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.