Struct vulkano::swapchain::SupportedPresentModes
[−]
[src]
pub struct SupportedPresentModes { pub immediate: bool, pub mailbox: bool, pub fifo: bool, pub relaxed: bool, }
List of PresentMode
s that are supported.
Fields
immediate: bool
mailbox: bool
fifo: bool
relaxed: bool
Methods
impl SupportedPresentModes
[src]
fn none() -> SupportedPresentModes
Builds a SupportedPresentModes
with all fields set to false.
fn supports(&self, mode: PresentMode) -> bool
Returns true if the given present mode is in this list of supported modes.
fn iter(&self) -> SupportedPresentModesIter
Returns an iterator to the list of supported present modes.
Trait Implementations
impl Copy for SupportedPresentModes
[src]
impl Clone for SupportedPresentModes
[src]
fn clone(&self) -> SupportedPresentModes
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for SupportedPresentModes
[src]
impl PartialEq for SupportedPresentModes
[src]
fn eq(&self, __arg_0: &SupportedPresentModes) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SupportedPresentModes) -> bool
This method tests for !=
.