Trait abi_stable::traits::IntoReprC[][src]

pub trait IntoReprC {
    type ReprC;
    fn into_c(self) -> Self::ReprC;
}
Expand description

Converts a #[repr(Rust)] type into its #[repr(C)] equivalent.

#[repr(Rust)] is the default representation for data types.

Associated Types

The #[repr(C)] equivalent.

Required methods

Performs the conversion

Implementations on Foreign Types

Implementors