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