Enum roblox::enumeration::InfoType [−][src]
pub enum InfoType { Asset, Product, GamePass, Subscription, Bundle, }
Expand description
The InfoType enumeration.
Examples
Getting an EnumItem’s name:
assert_eq!(roblox::enums::InfoType::Asset.name(), "Asset");
Getting an EnumItem’s value:
assert_eq!(roblox::enums::InfoType::Asset.value(), Asset);
Getting all EnumItems:
let enum_items = roblox::enums::InfoType::get_enum_items();
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InfoType
impl UnwindSafe for InfoType
Blanket Implementations
Mutably borrows from an owned value. Read more