pub trait IntoInner {
    type InnerTarget;

    // Required method
    unsafe fn into_inner(self) -> Self::InnerTarget;
}
Expand description

Convert a container into inner type.

Required Associated Types§

Required Methods§

source

unsafe fn into_inner(self) -> Self::InnerTarget

Consume self and return inner type.

Safety

It might be unsafe to invoke this method if the container has an opaque type, or is on the wrong side of FFI. CGlue code generator guards against these problems, but it is important to consider them when working manually with this trait.

Implementors§

source§

impl<T> IntoInner for CBox<'_, T>

§

type InnerTarget = T