Enum roblox::enumeration::Material [−][src]
pub enum Material {}Show 37 variants
Plastic, Wood, Slate, Concrete, CorrodedMetal, DiamondPlate, Foil, Grass, Ice, Marble, Granite, Brick, Pebble, Sand, Fabric, SmoothPlastic, Metal, WoodPlanks, Cobblestone, Air, Water, Rock, Glacier, Snow, Sandstone, Mud, Basalt, Ground, CrackedLava, Neon, Glass, Asphalt, LeafyGrass, Salt, Limestone, Pavement, ForceField,
Expand description
The Material enumeration.
Examples
Getting an EnumItem’s name:
assert_eq!(roblox::enums::Material::Plastic.name(), "Plastic");
Getting an EnumItem’s value:
assert_eq!(roblox::enums::Material::Plastic.value(), Plastic);
Getting all EnumItems:
let enum_items = roblox::enums::Material::get_enum_items();
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Material
impl UnwindSafe for Material
Blanket Implementations
Mutably borrows from an owned value. Read more