Deriving FromStr only works for newtypes, i.e structs with only a single field. The result is that you will be able to call the parse() method on a string ...
確定! 回上一頁