Trait simics::api::traits::class::ClassCreate

source ·
pub trait ClassCreate {
    // Required method
    fn create() -> Result<*mut ConfClass>;
}
Expand description

A class can be created, which usually entails calling create_class

Required Methods§

source

fn create() -> Result<*mut ConfClass>

Create a class and register it in SIMICS. This does not instantiate the class by creating any objects, it only creates the (python) class that is used as a blueprint to instantiate the class

Object Safety§

This trait is not object safe.

Implementors§