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