pub struct VideoMode {
pub width: NonZero<u32>,
pub height: NonZero<u32>,
pub refresh_rate: NonZero<u16>,
pub format: VideoFrameFormat,
}Expand description
Video monitor output mode.
Fields§
§width: NonZero<u32>Frame width.
height: NonZero<u32>Frame height.
refresh_rate: NonZero<u16>Monitor refresh rate in frames per second.
format: VideoFrameFormatFrame encoding.
Implementations§
Trait Implementations§
impl Copy for VideoMode
impl Eq for VideoMode
impl StructuralPartialEq for VideoMode
Auto Trait Implementations§
impl Freeze for VideoMode
impl RefUnwindSafe for VideoMode
impl Send for VideoMode
impl Sync for VideoMode
impl Unpin for VideoMode
impl UnwindSafe for VideoMode
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