pub trait ToStrings {
    // Required method
    fn to_strings(&self) -> Vec<String>;
}
Expand description

Converts arrays or vectors of strs to a vector of owned strings

Required Methods§

Implementations on Foreign Types§

source§

impl<T: ToString> ToStrings for [T]

source§

impl<T: ToString> ToStrings for Vec<T>

source§

fn to_strings(&self) -> Vec<String>

Converts arrays or vectors of strs to a vector of owned strings

Implementors§