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