Skip to main content

Module buffer

Module buffer 

Source
Expand description

Safe buffer types for FFI data exchange.

These buffers provide RAII-based memory management for data passed between Rust and the C API. All buffers are automatically deallocated when dropped.

§Buffer Types

Structs§

MaaImageBuffer
Image buffer for storing and manipulating image data.
MaaImageListBuffer
A list buffer for storing multiple images.
MaaRectBuffer
Rect buffer for passing rectangle coordinates between Rust and C API.
MaaStringBuffer
A string buffer for UTF-8 text data.
MaaStringListBuffer
A list buffer for storing multiple strings.