Function nitroglycerin::convert::extract[][src]

pub fn extract<T: FromAttributeValue>(
    map: &mut Attributes,
    key: &str
) -> Result<T, AttributeError>
Expand description

Remove and parse a value from an Attribute HashMap

Errors

Will return an error if the key is missing from map or of the value could not be parsed