Function simics::api::base::attr_value::make_attr_list
source · pub fn make_attr_list<T>(attrs: Vec<T>) -> Result<AttrValue>
Expand description
Create a new list AttrValue
. The items are moved into the new list, which
takes ownership of the input data.
§Arguments
attrs
- A vector whose elements can be converted toAttrValues
§Return Value
An AttrValue
containing the provided attrs
. The AttrValue
owns the items
in the list.
§Context
Cell Context