In this Rust tutorial we learn how to create enums with custom named ... Copy. // define enum enum Auth { Enabled(i32), Disabled(i32) } fn main() {}.
確定! 回上一頁