Trait glib::translate::TransparentType
source · pub unsafe trait TransparentType: Clone + Sized {
type GlibType;
}
Expand description
Trait for types that have the same memory representation as their FFI type.
Values of types implementing this trait can be transmuted directly to the FFI type, references to pointers to the FFI type.