Trait winit::platform::ios::MonitorHandleExtIOS

source ·
pub trait MonitorHandleExtIOS {
    // Required methods
    fn ui_screen(&self) -> *mut c_void;
    fn preferred_video_mode(&self) -> VideoModeHandle;
}
Available on ios_platform only.
Expand description

Additional methods on MonitorHandle that are specific to iOS.

Required Methods§

source

fn ui_screen(&self) -> *mut c_void

Returns a pointer to the UIScreen that is used by this monitor.

source

fn preferred_video_mode(&self) -> VideoModeHandle

Returns the preferred VideoModeHandle for this monitor.

This translates to a call to -[UIScreen preferredMode].

Implementors§