[][src]Module typic::stability

Traits for communicating layout guarantees.

use typic::{self, stability::*};

#[typic::repr(C)]
#[derive(StableABI)]
struct Foo(u8, u16, u32);

Traits

TransmutableFrom

Assert that Self is always transmutable from Type.

TransmutableInto

Assert that Self is always transmutable into Type.

Derive Macros

StableABI

Implements TransmutableInto and TransmutableFrom for a type, using that type as its own ABI bound.