Rust enums "degenerate" to a C-style enum (except typesafe) as it can be repr'd ... an enum to a String in Rust is to implement the std::fmt::Display trait.
確定! 回上一頁