Enum roblox::enumeration::Genre [−][src]
pub enum Genre {}Show 14 variants
All, TownAndCity, Fantasy, SciFi, Ninja, Scary, Pirate, Adventure, Sports, Funny, WildWest, War, SkatePark, Tutorial,
Expand description
The Genre enumeration.
Examples
Getting an EnumItem’s name:
assert_eq!(roblox::enums::Genre::All.name(), "All");
Getting an EnumItem’s value:
assert_eq!(roblox::enums::Genre::All.value(), All);
Getting all EnumItems:
let enum_items = roblox::enums::Genre::get_enum_items();
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Genre
impl UnwindSafe for Genre
Blanket Implementations
Mutably borrows from an owned value. Read more