Trait abi_stable::traits::IntoReprC
source · pub trait IntoReprC {
type ReprC;
// Required method
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.
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
source§impl IntoReprC for RecvTimeoutError
Available on crate feature channels
only.
impl IntoReprC for RecvTimeoutError
Available on crate feature
channels
only.source§impl IntoReprC for TryRecvError
Available on crate feature channels
only.
impl IntoReprC for TryRecvError
Available on crate feature
channels
only.source§impl<A, B, C, D> IntoReprC for (A, B, C, D)
impl<A, B, C, D> IntoReprC for (A, B, C, D)
source§impl<T> IntoReprC for SendTimeoutError<T>
Available on crate feature channels
only.
impl<T> IntoReprC for SendTimeoutError<T>
Available on crate feature
channels
only.source§impl<T> IntoReprC for TrySendError<T>
Available on crate feature channels
only.
impl<T> IntoReprC for TrySendError<T>
Available on crate feature
channels
only.