[][src]Trait abi_stable::StableAbi

pub unsafe trait StableAbi: SharedStableAbi<Kind = ValueKind> {
const LAYOUT: &'static TypeLayout;
const ABI_INFO: &'static AbiInfoWrapper;
}

Represents a type whose layout is stable.

This trait can indirectly be derived using #[derive(StableAbi)] (There is a blanket impl of StableAbi for SharedStableAbi<Kind=ValueKind>, which #[derive(StableAbi)] implements. ).

There is a blanket impl of this trait for all SharedStableAbi<Kind=ValueKind> types.

Associated Constants

const LAYOUT: &'static TypeLayout

The layout of the type provided by implementors.

const ABI_INFO: &'static AbiInfoWrapper

The layout of the type,derived from Self::LAYOUT and associated types.

Loading content...

Implementors

impl<This> StableAbi for This where
    This: SharedStableAbi<Kind = ValueKind>, 
[src]

Loading content...