Struct dacite::khr_surface::SurfaceCapabilitiesKhr
[−]
[src]
pub struct SurfaceCapabilitiesKhr { pub min_image_count: u32, pub max_image_count: Option<u32>, pub current_extent: Option<Extent2D>, pub min_image_extent: Extent2D, pub max_image_extent: Extent2D, pub max_image_array_layers: u32, pub supported_transforms: SurfaceTransformFlagsKhr, pub current_transform: SurfaceTransformFlagBitsKhr, pub supported_composite_alpha: CompositeAlphaFlagsKhr, pub supported_usage_flags: ImageUsageFlags, }
Fields
min_image_count: u32
max_image_count: Option<u32>
current_extent: Option<Extent2D>
min_image_extent: Extent2D
max_image_extent: Extent2D
max_image_array_layers: u32
supported_transforms: SurfaceTransformFlagsKhr
current_transform: SurfaceTransformFlagBitsKhr
supported_composite_alpha: CompositeAlphaFlagsKhr
supported_usage_flags: ImageUsageFlags
Trait Implementations
impl Debug for SurfaceCapabilitiesKhr
[src]
impl Copy for SurfaceCapabilitiesKhr
[src]
impl Clone for SurfaceCapabilitiesKhr
[src]
fn clone(&self) -> SurfaceCapabilitiesKhr
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 PartialEq for SurfaceCapabilitiesKhr
[src]
fn eq(&self, __arg_0: &SurfaceCapabilitiesKhr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SurfaceCapabilitiesKhr) -> bool
This method tests for !=
.
impl Eq for SurfaceCapabilitiesKhr
[src]
impl Hash for SurfaceCapabilitiesKhr
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'a> From<&'a VkSurfaceCapabilitiesKHR> for SurfaceCapabilitiesKhr
[src]
fn from(capabilities: &'a VkSurfaceCapabilitiesKHR) -> Self
Performs the conversion.