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_uintNominal video width of game.
base_height: c_uintNominal video height of game.
max_width: c_uintMaximum possible width of game.
max_height: c_uintMaximum possible height of game.
aspect_ratio: f32Nominal 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
Auto Trait Implementations
impl RefUnwindSafe for retro_game_geometry
impl Send for retro_game_geometry
impl Sync for retro_game_geometry
impl Unpin for retro_game_geometry
impl UnwindSafe for retro_game_geometry
Blanket Implementations
Mutably borrows from an owned value. Read more
