Struct rust_libretro_sys::retro_game_geometry
source · #[repr(C)]pub struct retro_game_geometry {
pub base_width: c_uint,
pub base_height: c_uint,
pub max_width: c_uint,
pub max_height: c_uint,
pub aspect_ratio: f32,
}
Fields§
§base_width: c_uint
Nominal video width of game.
base_height: c_uint
Nominal video height of game.
max_width: c_uint
Maximum possible width of game.
max_height: c_uint
Maximum possible height of game.
aspect_ratio: f32
Nominal aspect ratio of game. If aspect_ratio is <= 0.0, an aspect ratio of base_width / base_height is assumed. A frontend could override this setting, if desired.
Trait Implementations§
source§impl Clone for retro_game_geometry
impl Clone for retro_game_geometry
source§fn clone(&self) -> retro_game_geometry
fn clone(&self) -> retro_game_geometry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more