/// find name value with str value
find name value with str value
find name value with str value
pub(crate) fn find_string_name_value(version_meta: &Meta, attr_name: &str) -> Option<LitStr> {
    if let Some(attr) = find_name_attribute(version_meta, attr_name) {
        match &attr.lit {
            Lit::Str(val) => Some(val.clone()),
            _ => unimplemented!(),
        }
    } else {
        None
    }
}
pub ( crate ) fn find_string_name_value ( version_meta : & Meta , attr_name : & str ) -> Option < LitStr > { if let Some ( attr ) = find_name_attribute ( version_meta , attr_name ) { match & attr . lit { Lit :: Str ( val ) => Some ( val . clone ( ) ) , _ => unimplemented ! ( ) , } } else { None } }
find name value with str value
find name value with str value
version_meta
&Meta
attr_name
&str