# ffi_struct_derive **Repository Path**: a5k3rn3l/ffi_struct_derive ## Basic Information - **Project Name**: ffi_struct_derive - **Description**: 此 crate 是 `ffi_struct` crate 的支持库。它提供了 proc 宏 `FFIStruct`,该宏与 `ffi_struct_trait` crate 配合使用,提供了一种在 Rust 中使结构可迭代的简便方法,并且比 `struct_iterable` 更好,因为你可以对填充进行更精细的操作。 - **Primary Language**: Unknown - **License**: LGPL-2.1 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-10-27 - **Last Updated**: 2025-10-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FFI Struct Derive This crate is a supporting library for the `ffi_struct` crate. It provides the proc macro `FFIStruct` which is used in conjunction with the `ffi_struct_trait` crate to provide an easy way to make a struct iterable in Rust. **Please note:** This crate is not intended to be used directly. If you want to make your structs iterable and adjust paddings or alignments, please use the `ffi_struct` crate instead. Please visit the [`ffi_struct` crate on crates.io](https://crates.io/crates/ffi_struct) for more information and usage examples.