Trait ToStrings

Source
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§

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

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

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§