Trait cglue::trait_group::CGlueObjBase
source · pub trait CGlueObjBase {
type ObjType;
type InstType: Deref<Target = Self::ObjType>;
type Context: ContextBounds;
// Required methods
fn cobj_base_ref(&self) -> (&Self::ObjType, &Self::Context);
fn cobj_base_owned(self) -> (Self::InstType, Self::Context);
}
Expand description
CGlue compatible object.
This trait allows to retrieve the constant this
pointer on the structure.
Required Associated Types§
sourcetype Context: ContextBounds
type Context: ContextBounds
Type of the context associated with the container.