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