Trait glib::translate::TransparentPtrType

source ·
pub unsafe trait TransparentPtrType:
    Clone
    + Sized
    + GlibPtrDefault { }
Expand description

Trait for types that have the same memory representation as a pointer to their FFI type.

Values of types implementing this trait can be transmuted to pointers of the FFI type, references to pointers of pointers to the FFI type.

Object Safety§

This trait is not object safe.

Implementors§