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