pub trait FromGlibPtrContainer<P: Ptr, PP: Ptr>: FromGlibContainer<P, PP> + Sized {
// Required methods
unsafe fn from_glib_none(ptr: PP) -> Self;
unsafe fn from_glib_container(ptr: PP) -> Self;
unsafe fn from_glib_full(ptr: PP) -> Self;
}
Expand description
Translate from a container of pointers.
Required Methods§
Sourceunsafe fn from_glib_none(ptr: PP) -> Self
unsafe fn from_glib_none(ptr: PP) -> Self
Transfer: none.
Sourceunsafe fn from_glib_container(ptr: PP) -> Self
unsafe fn from_glib_container(ptr: PP) -> Self
Transfer: container.
Sourceunsafe fn from_glib_full(ptr: PP) -> Self
unsafe fn from_glib_full(ptr: PP) -> Self
Transfer: full.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.