Function extract_hls_macro

Source
pub fn extract_hls_macro(
    attributes: &Vec<Attribute>,
) -> Result<Option<HlsArguments>, Error>
Expand description

Extract rust_hls macro information from the given attributes

Returns Err if there is something wrong with the rust_hls macro Returns Ok(None) if there is no rust_hls macro Returns Ok(Some(HlsArguments)) if there is a rust_hls macro