Struct vulkano::swapchain::display::DisplayMode [−][src]
pub struct DisplayMode { /* fields omitted */ }
Expand description
Represents a mode on a specific display.
A display mode describes a supported display resolution and refresh rate.
Implementations
Returns the dimensions of the region that is visible on the monitor.
Returns the refresh rate of this mode.
The returned value is multiplied by 1000. As such the value is in terms of millihertz (mHz). For example, a 60Hz display mode would have a refresh rate of 60,000 mHz.
Trait Implementations
type Object = DisplayModeKHR
type Object = DisplayModeKHR
The type of the object.
Returns a reference to the object.
Auto Trait Implementations
impl RefUnwindSafe for DisplayMode
impl !Send for DisplayMode
impl !Sync for DisplayMode
impl Unpin for DisplayMode
impl UnwindSafe for DisplayMode
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.