Function simics::api::base::conf_object::_set_class_data
source · fn _set_class_data<T>(cls: *mut ConfClass, data: T)
Expand description
Set extra data for the specified class. This is particularly useful if the same class
methods are used for multiple distinct classes, for instance for generated classes.
The class data can be fetched at any time during the object initialisation, using
get_class_data
.
§Arguments
cls
- The class to set extra data fordata
- Extra data to store
§Context
Global Context