Trait industrial_io::FromAttribute
source · pub trait FromAttribute: FromStr {
fn from_attr(s: &str) -> Result<Self> { ... }
}
Expand description
Trait to convert an attribute string to a typed value.
pub trait FromAttribute: FromStr {
fn from_attr(s: &str) -> Result<Self> { ... }
}
Trait to convert an attribute string to a typed value.