pub struct VideoMode {
pub width: NonZero<u16>,
pub height: NonZero<u16>,
pub refresh_rate: NonZero<u16>,
pub options: VideoModeOptions,
}Expand description
Video monitor output mode.
Fields§
§width: NonZero<u16>Frame width.
height: NonZero<u16>Frame height.
refresh_rate: NonZero<u16>Monitor refresh rate in frames per second.
options: VideoModeOptionsVideo encoder parameters.
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 UnsafeUnpin 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