Struct vulkano::swapchain::display::Display[][src]

pub struct Display { /* fields omitted */ }

Represents a monitor connected to a physical device.

Methods

impl Display
[src]

See the docs of enumerate().

Enumerates all the displays that are available on a given physical device.

Panic

  • Panics if the device or host ran out of memory.

Returns the name of the display.

Returns the physical device that was used to create this display.

Returns the physical dimensions of the display in millimeters.

Returns the physical, native, or preferred resolution of the display.

Note: The display is usually still capable of displaying other resolutions. This is only the "best" resolution.

Returns the transforms supported by this display.

Returns true if TODO.

Returns true if TODO.

See the docs of display_modes().

Returns a list of all modes available on this display.

Panic

  • Panics if the device or host ran out of memory.

Trait Implementations

impl Clone for Display
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl VulkanObject for Display
[src]

The type of the object.

TYPE: DebugReportObjectTypeEXT = vk::DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT

The DebugReportObjectTypeEXT of the internal Vulkan handle.

Returns a reference to the object.

Auto Trait Implementations

impl !Send for Display

impl !Sync for Display