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