Trait cglue::trait_group::CGlueObjBuild[][src]

pub trait CGlueObjBuild<S>: CGlueObjRef<S> {
    unsafe fn cobj_build(&self, new: Self::ContType) -> Self;
}

Required methods

Construct an object from self vtables and a new object

Safety

It is imporant to make sure new uses the same type as the one in the self instance, because otherwise wrong functions will be invoked.

Implementors