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

pub struct Display { /* fields omitted */ }

Represents a monitor connected to a physical device.

Methods

impl Display
[src]

[src]

See the docs of enumerate().

[src]

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

Panic

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

[src]

Returns the name of the display.

[src]

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

[src]

Returns the physical dimensions of the display in millimeters.

[src]

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.

[src]

Returns the transforms supported by this display.

[src]

Returns true if TODO.

[src]

Returns true if TODO.

[src]

See the docs of display_modes().

[src]

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

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.

[src]

Returns a reference to the object.

Auto Trait Implementations

impl !Send for Display

impl !Sync for Display