Function simics::api::base::attr_value::make_attr_string

source ·
pub fn make_attr_string<S>(s: S) -> AttrValue
where S: AsRef<str>,
Expand description

Create a new string AttrValue. The string is copied, and the AttrValue owns the string.

§Arguments

§Return Value

An owned AttrValue with string value

§Notes

s.into() may be preferred.

§Context

Cell Context