Trait cglue::trait_group::CGlueObjRef[][src]

pub trait CGlueObjRef<S> {
    type ObjType;
    type ContType: Deref<Target = Self::ObjType>;
    type Context: Clone;
    fn cobj_ref(&self) -> (&Self::ObjType, &S, &Self::Context);
}
Expand description

CGlue compatible object.

This trait allows to retrieve the constant this pointer on the structure.

Associated Types

Type of the underlying object.

Type of the container housing the object.

Type of the context associated with the container.

Required methods

Implementors