instantiate
function · ferroui-base · v0.5.0
fn instantiate<T: ObjectType>(value: T) -> Ref<T>
Moves a constructed class value to the heap, attaches the virtual table of
its class and runs the constructed virtual member. The class (and its
base classes) are initialised first if this is the first instance on the
thread; see ObjectType::register_class.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.