Skip to main content

Module corety

Module corety 

Source
Expand description

FFI-safe core type aliases (AzString, AzVec, OptionT, etc.). Core FFI-safe types used across crate boundaries.

This module defines the fundamental types for FFI interop: AzString (an FFI-safe string backed by U8Vec with destructor-based memory management), EmptyStruct (a non-zero-size unit type), and various Vec/Option wrappers generated by the impl_vec! and impl_option! macros.

Structs§

AzString
FFI-safe string type backed by U8Vec with destructor-based memory management.
EmptyStruct
FFI-safe void type to replace () in Result types.
F32Vec
F32VecSlice
C-compatible slice type for $struct_name. This is a non-owning view into a Vec’s data.
LayoutDebugMessage
A debug message emitted during layout, with severity, text, and source location.
StringArena
Bump allocator backing arena-owned AzString instances.
StringVec
StringVecSlice
C-compatible slice type for $struct_name. This is a non-owning view into a Vec’s data.
U8Vec
U8VecSlice
C-compatible slice type for $struct_name. This is a non-owning view into a Vec’s data.
U16Vec
U16VecSlice
C-compatible slice type for $struct_name. This is a non-owning view into a Vec’s data.
U32Vec
U32VecSlice
C-compatible slice type for $struct_name. This is a non-owning view into a Vec’s data.

Enums§

F32VecDestructor
LayoutDebugMessageType
Debug message severity or category for layout diagnostics.
OptionBool
OptionF32
OptionF64
OptionI16
OptionI32
OptionString
OptionStringVec
OptionU8
OptionU8Vec
OptionU16
OptionU32
OptionU64
OptionUsize
StringVecDestructor
U8VecDestructor
U16VecDestructor
U32VecDestructor

Type Aliases§

F32VecDestructorType
StringVecDestructorType
U8VecDestructorType
U16VecDestructorType
U32VecDestructorType