Enum roblox::enumeration::SurfaceType [−][src]
pub enum SurfaceType { Smooth, Glue, Weld, Studs, Inlet, Universal, Hinge, Motor, SteppingMotor, SmoothNoOutlines, }
Expand description
The SurfaceType enumeration.
Examples
Getting an EnumItem’s name:
assert_eq!(roblox::enums::SurfaceType::Smooth.name(), "Smooth");
Getting an EnumItem’s value:
assert_eq!(roblox::enums::SurfaceType::Smooth.value(), Smooth);
Getting all EnumItems:
let enum_items = roblox::enums::SurfaceType::get_enum_items();
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SurfaceType
impl Send for SurfaceType
impl Sync for SurfaceType
impl Unpin for SurfaceType
impl UnwindSafe for SurfaceType
Blanket Implementations
Mutably borrows from an owned value. Read more