[][src]Module abi_stable::sabi_types

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

Re-exports

pub use self::ignored_wrapper::CmpIgnored;
pub use self::move_ptr::MovePtr;
pub use self::version::VersionNumber;
pub use self::version::VersionStrings;
pub use self::version::ParseVersionError;

Modules

ignored_wrapper

Wrapper type(s) where their value is ignored in some trait impls .

move_ptr

Contains the MovePtr<_> type.

rsmallbox

Contains the RSmallBox<_> type.

version

Types representing the version number of a library.

Structs

Constructor

Newtype wrapper to pass function pointers to const fn.

LateStaticRef

A late-initialized static reference,with fallible initialization.

NulStr

A utf8 null-terminated string slice.

RRef

A StableAbi type equivalent to &'a T, defined as a workaround to allow casting from &T to &U inside a const fn in stable Rust.

RSmallBox

A box type which stores small values inline as an optimization.

StaticRef

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

ConstructorOrValue

Either the constructor for a value or the value itself

MaybeCmp

An Option-like type which is only compares equal if it contains a value.