#[repr(C)]pub struct VideoMode {
pub size: LayoutSize,
pub bit_depth: u16,
pub refresh_rate: u16,
}Fields§
§size: LayoutSize§bit_depth: u16§refresh_rate: u16Trait Implementations§
Source§impl FromIterator<VideoMode> for VideoModeVec
impl FromIterator<VideoMode> for VideoModeVec
Source§impl Ord for VideoMode
impl Ord for VideoMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for VideoMode
impl PartialOrd for VideoMode
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