Struct rich_sdl2_rust::display::Mode
source · pub struct Mode {
pub pixel_format: PixelFormatKind,
pub width: u32,
pub height: u32,
pub refresh_rate: u32,
}
Expand description
A mode of the display.
Fields§
§pixel_format: PixelFormatKind
A pixel format of the display.
width: u32
A width of the display.
height: u32
A height of the display.
refresh_rate: u32
A refresh rate of the display.