Trait ux::prelude::ObjectType[][src]

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;
    pub fn as_object_ref(&self) -> &ObjectRef;
pub fn as_ptr(&self) -> *mut Self::GlibType; }

Implemented by types representing glib::Object and subclasses of it.

Associated Types

type GlibType: 'static[src]

type of the FFI Instance structure.

type GlibClassType: 'static[src]

type of the FFI Class structure.

type RustClassType: 'static[src]

type of the Rust Class structure.

Loading content...

Required methods

pub fn as_object_ref(&self) -> &ObjectRef[src]

pub fn as_ptr(&self) -> *mut Self::GlibType[src]

Loading content...

Implementors

Loading content...