Function simics::api::base::conf_object::_get_class_data
source · fn _get_class_data<'a, T>(cls: *mut ConfClass) -> &'a mut T
Expand description
Obtain the class data that was set using set_class_data
. This can be called at
any time during the object initialisation process.
§Arguments
cls
- The class to retrieve data for.
§Return Value
The class data. Ownership of the data is not transferred to the caller. If T
implements Clone
, clone the data to obtain an owned object.
§Context
Cell Context