Struct gfx_hal::display::DisplayMode
source · [−]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> RefUnwindSafe for DisplayMode<B> where
<B as Backend>::DisplayMode: RefUnwindSafe,
impl<B> Send for DisplayMode<B>
impl<B> Sync for DisplayMode<B>
impl<B> Unpin for DisplayMode<B> where
<B as Backend>::DisplayMode: Unpin,
impl<B> UnwindSafe for DisplayMode<B> where
<B as Backend>::DisplayMode: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more