Trait cglue::trait_group::IntoInner
source · 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§
type InnerTarget
Required Methods§
sourceunsafe 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.