Module abi_stable::sabi_types

source ·
Expand description

ffi-safe types that aren’t wrappers for other types.

Re-exports§

Modules§

  • A packed array of boolean enum values.
  • Contains the RSmallBox<_> type.
  • Types representing the version number of a library.

Structs§

  • Wrapper type used to ignore its contents in comparisons.
  • Newtype wrapper to pass function pointers to const fn.
  • A late-initialized static reference,with fallible initialization.
  • A move pointer, which allows moving the value from the reference, consuming it in the process.
  • A utf8 nul-terminated immutable borrowed string.
  • Equivalent to &'a mut T, which allows a few more operations without causing Undefined Behavior.
  • Equivalent to &'a T, which allows a few more operations without causing Undefined Behavior.
  • A wrapper type for vtable static references, and other constants that have non-'static generic parameters but are safe to reference for the lifetime of T.

Enums§

  • Either the constructor for a value or the value itself
  • An Option-like type which only compares equal if it contains a value(the Just variant).
  • Error from trying to convert a &str to a NulStr