ScreenOrientation
enum · ferroui-controls · v0.5.0
enum ScreenOrientation
Describes the orientation of a screen.
Members
None
None = 0
No screen orientation is specified.
Landscape
Landscape = 1
Specifies that the monitor is oriented in landscape mode where the width of the screen viewing area is greater than the height.
Portrait
Portrait = 2
Specifies that the monitor rotated 90 degrees in the clockwise direction to orient the screen in portrait mode where the height of the screen viewing area is greater than the width.
LandscapeFlipped
LandscapeFlipped = 4
Specifies that the monitor rotated another 90 degrees in the clockwise direction (to equal 180 degrees) to orient the screen in landscape mode where the width of the screen viewing area is greater than the height. This landscape mode is flipped 180 degrees from the landscape mode.
PortraitFlipped
PortraitFlipped = 8
Specifies that the monitor rotated another 90 degrees in the clockwise direction (to equal 270 degrees) to orient the screen in portrait mode where the height of the screen viewing area is greater than the width. This portrait mode is flipped 180 degrees from the portrait mode.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.