Enum roblox::enumeration::CellMaterial [−][src]
pub enum CellMaterial {}Show 18 variants
Empty, Grass, Sand, Brick, Granite, Asphalt, Iron, Aluminum, Gold, WoodPlank, WoodLog, Gravel, CinderBlock, MossyStone, Cement, RedPlastic, BluePlastic, Water,
Expand description
The CellMaterial enumeration.
Examples
Getting an EnumItem’s name:
assert_eq!(roblox::enums::CellMaterial::Empty.name(), "Empty");
Getting an EnumItem’s value:
assert_eq!(roblox::enums::CellMaterial::Empty.value(), Empty);
Getting all EnumItems:
let enum_items = roblox::enums::CellMaterial::get_enum_items();
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CellMaterial
impl Send for CellMaterial
impl Sync for CellMaterial
impl Unpin for CellMaterial
impl UnwindSafe for CellMaterial
Blanket Implementations
Mutably borrows from an owned value. Read more