Struct tiny_game_framework::VidMode
source · pub struct VidMode {
pub width: u32,
pub height: u32,
pub red_bits: u32,
pub green_bits: u32,
pub blue_bits: u32,
pub refresh_rate: u32,
}
Expand description
Describes a single video mode.
Fields§
§width: u32
§height: u32
§red_bits: u32
§green_bits: u32
§blue_bits: u32
§refresh_rate: u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VidMode
impl RefUnwindSafe for VidMode
impl Send for VidMode
impl Sync for VidMode
impl Unpin for VidMode
impl UnwindSafe for VidMode
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