Skip to main content

get_attribute_f32

Function get_attribute_f32 

Source
pub fn get_attribute_f32(e: &BytesStart<'_>, name: &[u8]) -> Result<f32>
Expand description

Returns the named attribute parsed as an f32, or an error if absent or invalid.