Struct vulkano::swapchain::SupportedPresentModes [−][src]
pub struct SupportedPresentModes { pub immediate: bool, pub mailbox: bool, pub fifo: bool, pub relaxed: bool, pub shared_demand: bool, pub shared_continuous: bool, }
Expand description
List of PresentMode
s that are supported.
Fields
immediate: bool
mailbox: bool
fifo: bool
relaxed: bool
Implementations
Builds a SupportedPresentModes
with all fields set to false.
Returns true if the given present mode is in this list of supported modes.
pub fn iter(&self) -> SupportedPresentModesIterⓘNotable traits for SupportedPresentModesIterimpl Iterator for SupportedPresentModesIter type Item = PresentMode;
pub fn iter(&self) -> SupportedPresentModesIterⓘNotable traits for SupportedPresentModesIterimpl Iterator for SupportedPresentModesIter type Item = PresentMode;
Notable traits for SupportedPresentModesIter
impl Iterator for SupportedPresentModesIter type Item = PresentMode;
Returns an iterator to the list of supported present modes.
Trait Implementations
Creates a value from an iterator. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SupportedPresentModes
impl Send for SupportedPresentModes
impl Sync for SupportedPresentModes
impl Unpin for SupportedPresentModes
impl UnwindSafe for SupportedPresentModes
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.