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