#[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
§base_height: c_uint
§max_width: c_uint
§max_height: c_uint
§aspect_ratio: f32
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 duplicate 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 moreSource§impl Debug for retro_game_geometry
impl Debug for retro_game_geometry
impl Copy for retro_game_geometry
Auto Trait Implementations§
impl Freeze for retro_game_geometry
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more