[][src]Module abi_stable::utils

Utility functions.

Structs

PanicInfo

Information about a panic,used in ffi_panic_message.

Functions

ffi_panic_message

Prints an error message for attempting to panic across the ffi boundary and aborts the process.

leak_value

Leaks value into the heap,and returns a reference to it.

take_manuallydrop

Takes the contents out of a ManuallyDrop<T>.

transmute_mut_reference

Transmute a mutable reference to another mutable reference, changing the referent's type.

transmute_reference

Transmute a reference to another reference, changing the referent's type.