pub struct DisplayMode<B: Backend> {
pub handle: B::DisplayMode,
pub resolution: (u32, u32),
pub refresh_rate: u32,
}
Expand description
General information about the a DisplayMode.
Fields§
§handle: B::DisplayMode
The display mode handle
resolution: (u32, u32)
Resolution
refresh_rate: u32
Refresh rate
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for DisplayMode<B>
impl<B> RefUnwindSafe for DisplayMode<B>
impl<B> Send for DisplayMode<B>
impl<B> Sync for DisplayMode<B>
impl<B> Unpin for DisplayMode<B>
impl<B> UnwindSafe for DisplayMode<B>
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