pub fn vectorize(keys: &NamedKeys) -> Vec<NamedKey> {
    let named_keys = keys
        .iter()
        .map(|(name, key)| NamedKey {
            name: name.clone(),
            key: key.to_formatted_string(),
        })
        .collect();
    named_keys
}
/// A helper function to change NamedKeys into a Vec<NamedKey>
A helper function to change NamedKeys into a Vec
A helper function to change NamedKeys into a Vec
pub fn vectorize(keys: &NamedKeys) -> Vec<NamedKey> {
    let named_keys = keys
        .iter()
        .map(|(name, key)| NamedKey {
            name: name.clone(),
            key: key.to_formatted_string(),
        })
        .collect();
    named_keys
}
pub fn vectorize ( keys : & NamedKeys ) -> Vec < NamedKey > { let named_keys = keys . iter ( ) . map ( | ( name , key ) | NamedKey { name : name . clone ( ) , key : key . to_formatted_string ( ) , } ) . collect ( ) ; named_keys }
A helper function to change NamedKeys into a Vec<NamedKey>
A helper function to change NamedKeys into a Vec<NamedKey >
keys
&NamedKeys
keys
&NamedKeys