[][src]Trait abi_stable::traits::IntoReprRust

pub trait IntoReprRust {
type ReprRust;
    fn into_rust(self) -> Self::ReprRust;
}

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

Associated Types

Loading content...

Required methods

fn into_rust(self) -> Self::ReprRust

Loading content...

Implementors

impl IntoReprRust for RCmpOrdering[src]

type ReprRust = Ordering

impl IntoReprRust for RIoErrorKind[src]

type ReprRust = ErrorKind

impl IntoReprRust for RString[src]

type ReprRust = String

impl IntoReprRust for RDuration[src]

type ReprRust = Duration

impl<'a> IntoReprRust for RStr<'a>[src]

type ReprRust = &'a str

impl<'a, B> IntoReprRust for RCow<'a, B> where
    B: BorrowOwned<'a>, 
[src]

type ReprRust = Cow<'a, B::Borrowed>

impl<'a, T> IntoReprRust for RSlice<'a, T>[src]

type ReprRust = &'a [T]

impl<'a, T> IntoReprRust for RSliceMut<'a, T>[src]

impl<A> IntoReprRust for Tuple1<A>[src]

type ReprRust = (A,)

impl<A, B> IntoReprRust for Tuple2<A, B>[src]

type ReprRust = (A, B)

impl<A, B, C> IntoReprRust for Tuple3<A, B, C>[src]

type ReprRust = (A, B, C)

impl<A, B, C, D> IntoReprRust for Tuple4<A, B, C, D>[src]

type ReprRust = (A, B, C, D)

impl<T> IntoReprRust for ROption<T>[src]

type ReprRust = Option<T>

impl<T> IntoReprRust for RRange<T>[src]

type ReprRust = Range<T>

impl<T> IntoReprRust for RRangeFrom<T>[src]

type ReprRust = RangeFrom<T>

impl<T> IntoReprRust for RRangeInclusive<T>[src]

type ReprRust = RangeInclusive<T>

impl<T> IntoReprRust for RRangeTo<T>[src]

type ReprRust = RangeTo<T>

impl<T> IntoReprRust for RRangeToInclusive<T>[src]

impl<T> IntoReprRust for RArc<T> where
    T: Clone + StableAbi
[src]

type ReprRust = Arc<T>

impl<T> IntoReprRust for RBox<T>[src]

type ReprRust = Box<T>

impl<T> IntoReprRust for RVec<T>[src]

type ReprRust = Vec<T>

impl<T, E> IntoReprRust for RResult<T, E>[src]

type ReprRust = Result<T, E>

Loading content...