#[repr(C)]pub struct GameGeometry {
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 GameGeometry
impl Clone for GameGeometry
Source§fn clone(&self) -> GameGeometry
fn clone(&self) -> GameGeometry
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 moreAuto Trait Implementations§
impl Freeze for GameGeometry
impl RefUnwindSafe for GameGeometry
impl Send for GameGeometry
impl Sync for GameGeometry
impl Unpin for GameGeometry
impl UnwindSafe for GameGeometry
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