Module gravel_ffi::prelude

source ·
Expand description

This module re-exports the types needed to write plugins.

Bring them all into scope with use gravel_ffi::prelude::*;.
may not actually contain all types required; terms and conditions apply

Re-exports§

Structs§

  • The receiver end of a channel, which can be either bounded or unbounded.
  • Ffi-safe equivalent of &'a str

Enums§

  • Ffi-safe equivalent of the std::option::Option type.

Traits§

  • Converts a #[repr(Rust)] type into its #[repr(C)] equivalent.
  • Converts a #[repr(C)] type into its #[repr(Rust)] equivalent.

Attribute Macros§

  • Automatically implements the necessary FFI-glue for plugins to work.
  • Automatically implements the necessary FFI-glue for plugins to work.