pub enum Display {
Internal,
External,
}Expand description
Distinguishes the display for devices that have multiple.
Variants§
Internal
Indicates the internal display. The internal display is the “main display” embedded in the hardware. This is supported by iOS and watchOS.
External
Indicates the external display. The external display is a connected display. This is supported by the iOS simulator (although it’s currently not possible to setup such an external display through this library) and tvOS, where it’s the only available display because the hardware itself obviously doesn’t have a display.
Trait Implementations§
impl Copy for Display
impl Eq for Display
impl StructuralPartialEq for Display
Auto Trait Implementations§
impl Freeze for Display
impl RefUnwindSafe for Display
impl Send for Display
impl Sync for Display
impl Unpin for Display
impl UnwindSafe for Display
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more