[][src]Trait gstreamer::prelude::ObjectType

pub unsafe trait ObjectType: 'static + UnsafeFrom<ObjectRef> + for<'a> ToGlibPtr<'a, *mut Self::GlibType> + StaticType + Clone + PartialEq<Self> + Eq + Ord + PartialOrd<Self> + Into<ObjectRef> + Debug + Hash {
    type GlibType: 'static;
    type GlibClassType: 'static;
    type RustClassType: 'static;
    fn as_object_ref(&self) -> &ObjectRef;
fn as_ptr(&self) -> *mut Self::GlibType; }

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

Associated Types

type GlibType: 'static

type of the FFI Instance structure.

type GlibClassType: 'static

type of the FFI Class structure.

type RustClassType: 'static

type of the Rust Class structure.

Loading content...

Required methods

fn as_object_ref(&self) -> &ObjectRef

fn as_ptr(&self) -> *mut Self::GlibType

Loading content...


Loading content...