Struct glib::object::GenericObject [] [src]

pub struct GenericObject<T>(_, _);

The crate-local generic type for GObject descendants in GLib.

Trait Implementations

impl<T> Wrapper for GenericObject<T> where GenericObject<T>: StaticType

type GlibType = T

unsafe fn wrap(r: Ref) -> GenericObject<T>

fn as_ref(&self) -> &Ref

fn unwrap(self) -> Ref

impl<T> Clone for GenericObject<T>

fn clone(&self) -> GenericObject<T>

fn clone_from(&mut self, source: &Self)

impl<T> Upcast<Object> for GenericObject<T> where GenericObject<T>: StaticType

fn upcast(&self) -> VirtualRef<T::GlibType>

Derived Implementations

impl<T: Debug> Debug for GenericObject<T> where T: Debug

fn fmt(&self, __arg_0: &mut Formatter) -> Result