Module abi_stable::traits

source ·
Expand description

Where miscellaneous traits reside.

Traits§

  • Unwraps a type into its owned value.
  • For cloning a reference-like type into a (preferably ffi-safe) owned type.
  • Converts a #[repr(Rust)] type into its #[repr(C)] equivalent.
  • Converts a #[repr(C)] type into its #[repr(Rust)] equivalent.