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 RefUnwindSafe for VidMode
impl Send for VidMode
impl Sync for VidMode
impl Unpin for VidMode
impl UnwindSafe for VidMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more