pub struct VideoMode {
pub width: u32,
pub height: u32,
pub refresh_rate: u16,
pub format: VideoFrameFormat,
}
Expand description
Video monitor output mode.
Fields§
§width: u32
Frame width.
height: u32
Frame height.
refresh_rate: u16
Monitor refresh rate (frames per second).
format: VideoFrameFormat
Frame encoding.
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