Enum roblox::enumeration::SoundType [−][src]
pub enum SoundType {
Show 15 variants
NoSound,
Boing,
Bomb,
Break,
Click,
Clock,
Slingshot,
Page,
Ping,
Snap,
Splat,
Step,
StepOn,
Swoosh,
Victory,
}Expand description
The SoundType enumeration.
Examples
Getting an EnumItem’s name:
assert_eq!(roblox::enums::SoundType::NoSound.name(), "NoSound");
Getting an EnumItem’s value:
assert_eq!(roblox::enums::SoundType::NoSound.value(), NoSound);
Getting all EnumItems:
let enum_items = roblox::enums::SoundType::get_enum_items();
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SoundType
impl UnwindSafe for SoundType
Blanket Implementations
Mutably borrows from an owned value. Read more