Derive Macro collections_fromstr::FromStr [−][src]
#[derive(FromStr)] { // Attributes available to this derive: #[item_separator] }
Expand description
Derives FromStr
for collections. The input will be split along a separator that is specified in a helper attribute like #[item_separator=","]
. If the separator is a single character, it will be internally transformed into a char
.