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: u32Trait Implementations§
Auto Trait Implementations§
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