Struct vulkano::swapchain::display::DisplayMode [−][src]
pub struct DisplayMode { /* fields omitted */ }
Represents a mode on a specific display.
Methods
impl DisplayMode
[src]
impl DisplayMode
pub fn display(&self) -> &Display
[src]
pub fn display(&self) -> &Display
Returns the display corresponding to this mode.
pub fn visible_region(&self) -> [u32; 2]
[src]
pub fn visible_region(&self) -> [u32; 2]
Returns the dimensions of the region that is visible on the monitor.
pub fn refresh_rate(&self) -> u32
[src]
pub fn refresh_rate(&self) -> u32
Returns the refresh rate of this mode.
Trait Implementations
impl VulkanObject for DisplayMode
[src]
impl VulkanObject for DisplayMode
type Object = DisplayModeKHR
The type of the object.
const TYPE: DebugReportObjectTypeEXT
TYPE: DebugReportObjectTypeEXT = vk::DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT
The DebugReportObjectTypeEXT
of the internal Vulkan handle.
fn internal_object(&self) -> DisplayModeKHR
[src]
fn internal_object(&self) -> DisplayModeKHR
Returns a reference to the object.
Auto Trait Implementations
impl !Send for DisplayMode
impl !Send for DisplayMode
impl !Sync for DisplayMode
impl !Sync for DisplayMode