pub trait ObjectConstructor<T> {
    fn construct(&self, instance: T) -> Object<T>;
}
Expand description

A constructor of objects of type T.

See TypeBuilder::add_constructor for how this is used.

Required Methods

Constructs an object.

Implementors