Function simics::api::base::attr_value::make_attr_data_adopt

source ·
pub fn make_attr_data_adopt<T>(data: T) -> Result<AttrValue>
Expand description

Create a new data AttrValue

§Arguments

  • data - An object to move into a new AttrValue

§Return Value

An AttrValue storing a raw pointer to the provided data. The data is moved and is owned by the AttrValue

§Context

Cell Context