Struct vulkano::swapchain::SupportedPresentModes [] [src]

pub struct SupportedPresentModes {
    pub immediate: bool,
    pub mailbox: bool,
    pub fifo: bool,
    pub relaxed: bool,
}

List of PresentModes that are supported.

Fields

Methods

impl SupportedPresentModes
[src]

Builds a SupportedPresentModes with all fields set to false.

Returns true if the given present mode is in this list of supported modes.

Returns an iterator to the list of supported present modes.

Trait Implementations

impl Copy for SupportedPresentModes
[src]

impl Clone for SupportedPresentModes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SupportedPresentModes
[src]

Formats the value using the given formatter.

impl PartialEq for SupportedPresentModes
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SupportedPresentModes
[src]