Trait cglue::trait_group::IntoInner [−][src]
pub trait IntoInner { type InnerTarget; unsafe fn into_inner(self) -> Self::InnerTarget; }
Expand description
Convert a container into inner type.
Associated Types
type InnerTarget
Required methods
unsafe fn into_inner(self) -> Self::InnerTarget
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.