Trait abi_stable::traits::IntoReprRust

source ·
pub trait IntoReprRust {
    type ReprRust;

    // Required method
    fn into_rust(self) -> Self::ReprRust;
}
Expand description

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

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

Required Associated Types§

source

type ReprRust

The #[repr(Rust)] equivalent.

Required Methods§

source

fn into_rust(self) -> Self::ReprRust

Performs the conversion

Implementors§

source§

impl IntoReprRust for ROnceState

source§

impl IntoReprRust for RCmpOrdering

source§

impl IntoReprRust for RSeekFrom

source§

impl IntoReprRust for RDuration

source§

impl IntoReprRust for RIoError

source§

impl IntoReprRust for RIoErrorKind

source§

impl IntoReprRust for RString

source§

impl<'a> IntoReprRust for RStr<'a>

source§

impl<'a> IntoReprRust for RCowStr<'a>

source§

impl<'a, T> IntoReprRust for RSlice<'a, T>

source§

impl<'a, T> IntoReprRust for RSliceMut<'a, T>

source§

type ReprRust = &'a mut [T]

source§

impl<'a, T: Clone> IntoReprRust for RCowSlice<'a, T>

source§

impl<'a, T: Clone> IntoReprRust for RCowVal<'a, T>

source§

type ReprRust = Cow<'a, T>

source§

impl<A> IntoReprRust for Tuple1<A>

source§

impl<A, B> IntoReprRust for Tuple2<A, B>

source§

impl<A, B, C> IntoReprRust for Tuple3<A, B, C>

source§

impl<A, B, C, D> IntoReprRust for Tuple4<A, B, C, D>

source§

impl<T> IntoReprRust for ROption<T>

source§

impl<T> IntoReprRust for RArc<T>
where T: Clone + StableAbi,

source§

impl<T> IntoReprRust for RBox<T>

source§

impl<T> IntoReprRust for RVec<T>

source§

impl<T, E> IntoReprRust for RResult<T, E>