pub const fn new(format: PixelFormatEnum, width: i32, height: i32, refresh_rate: i32) -> Self {
    Self {
      format,
      width,
      height,
      refresh_rate,
      driver_data: null_mut(),
    }
  }
/// Constructs a new display mode as specified.
///
/// This is necessary because the display mode has a hidden driver data
/// pointer which must be initialized to null and not altered by outside users.
Constructs a new display mode as specified.
This is necessary because the display mode has a hidden driver data
pointer which must be initialized to null and not altered by outside users.
Constructs a new display mode as specified . This is necessary because the display mode has a hidden driver data pointer which must be initialized to null and not altered by outside users .
pub const fn new(format: PixelFormatEnum, width: i32, height: i32, refresh_rate: i32) -> Self {
    Self {
      format,
      width,
      height,
      refresh_rate,
      driver_data: null_mut(),
    }
  }
pub const fn new ( format : PixelFormatEnum , width : i32 , height : i32 , refresh_rate : i32 ) -> Self { Self { format , width , height , refresh_rate , driver_data : null_mut ( ) , } }
Constructs a new display mode as specified.
Constructs a new display mode as specified .
format
PixelFormatEnum
width
i32
height
i32
refresh_rate
i32
format
PixelFormatEnum
width
i32
height
i32
refresh_rate
i32