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

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

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

Associated Types

type ReprC

Loading content...

Required methods

fn into_c(self) -> Self::ReprC

Loading content...

Implementations on Foreign Types

impl<T> IntoReprC for Arc<T>[src]

type ReprC = RArc<T>

impl<T> IntoReprC for Box<T>[src]

type ReprC = RBox<T>

impl IntoReprC for Ordering[src]

type ReprC = RCmpOrdering

impl<'a, B: ?Sized> IntoReprC for Cow<'a, B> where
    B: BorrowOwned<'a>, 
[src]

type ReprC = RCow<'a, B>

impl<T> IntoReprC for Option<T>[src]

type ReprC = ROption<T>

impl<T> IntoReprC for Range<T>[src]

type ReprC = RRange<T>

impl<T> IntoReprC for RangeInclusive<T>[src]

type ReprC = RRangeInclusive<T>

impl<T> IntoReprC for RangeFrom<T>[src]

type ReprC = RRangeFrom<T>

impl<T> IntoReprC for RangeTo<T>[src]

type ReprC = RRangeTo<T>

impl<T> IntoReprC for RangeToInclusive<T>[src]

type ReprC = RRangeToInclusive<T>

impl<T, E> IntoReprC for Result<T, E>[src]

type ReprC = RResult<T, E>

impl<'a, T> IntoReprC for &'a mut [T][src]

type ReprC = RSliceMut<'a, T>

impl<'a, T> IntoReprC for &'a [T][src]

type ReprC = RSlice<'a, T>

impl IntoReprC for ErrorKind[src]

type ReprC = RIoErrorKind

impl IntoReprC for SeekFrom[src]

type ReprC = RSeekFrom

impl IntoReprC for ioError[src]

type ReprC = RIoError

impl<'a> IntoReprC for &'a str[src]

type ReprC = RStr<'a>

impl IntoReprC for String[src]

type ReprC = RString

impl IntoReprC for Duration[src]

type ReprC = RDuration

impl<A> IntoReprC for (A,)[src]

type ReprC = Tuple1<A>

impl<A, B> IntoReprC for (A, B)[src]

type ReprC = Tuple2<A, B>

impl<A, B, C> IntoReprC for (A, B, C)[src]

type ReprC = Tuple3<A, B, C>

impl<A, B, C, D> IntoReprC for (A, B, C, D)[src]

type ReprC = Tuple4<A, B, C, D>

impl<T> IntoReprC for Vec<T>[src]

type ReprC = RVec<T>

Loading content...

Implementors

Loading content...