Trait gtk::prelude::ObjectType
source · [−]pub unsafe trait ObjectType: 'static + UnsafeFrom<ObjectRef> + Into<ObjectRef> + StaticType + Debug + Clone + PartialEq<Self> + Eq + PartialOrd<Self> + Ord + Hash + for<'a> ToGlibPtr<'a, *mut Self::GlibType> {
type GlibType: 'static;
type GlibClassType: 'static;
type RustClassType: 'static;
fn as_object_ref(&self) -> &ObjectRef;
fn as_ptr(&self) -> *mut Self::GlibType;
}Expand description
Implemented by types representing glib::Object and subclasses of it.
Required Associated Types
sourcetype GlibClassType: 'static
type GlibClassType: 'static
type of the FFI Class structure.
sourcetype RustClassType: 'static
type RustClassType: 'static
type of the Rust Class structure.