Struct ash::vk::definitions::SurfaceCapabilities2EXT
source · #[repr(C)]pub struct SurfaceCapabilities2EXT<'a> {Show 14 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub min_image_count: u32,
pub max_image_count: u32,
pub current_extent: Extent2D,
pub min_image_extent: Extent2D,
pub max_image_extent: Extent2D,
pub max_image_array_layers: u32,
pub supported_transforms: SurfaceTransformFlagsKHR,
pub current_transform: SurfaceTransformFlagsKHR,
pub supported_composite_alpha: CompositeAlphaFlagsKHR,
pub supported_usage_flags: ImageUsageFlags,
pub supported_surface_counters: SurfaceCounterFlagsEXT,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§min_image_count: u32
§max_image_count: u32
§current_extent: Extent2D
§min_image_extent: Extent2D
§max_image_extent: Extent2D
§max_image_array_layers: u32
§supported_transforms: SurfaceTransformFlagsKHR
§current_transform: SurfaceTransformFlagsKHR
§supported_composite_alpha: CompositeAlphaFlagsKHR
§supported_usage_flags: ImageUsageFlags
§supported_surface_counters: SurfaceCounterFlagsEXT
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SurfaceCapabilities2EXT<'a>
impl<'a> SurfaceCapabilities2EXT<'a>
pub fn min_image_count(self, min_image_count: u32) -> Self
pub fn max_image_count(self, max_image_count: u32) -> Self
pub fn current_extent(self, current_extent: Extent2D) -> Self
pub fn min_image_extent(self, min_image_extent: Extent2D) -> Self
pub fn max_image_extent(self, max_image_extent: Extent2D) -> Self
pub fn max_image_array_layers(self, max_image_array_layers: u32) -> Self
pub fn supported_transforms( self, supported_transforms: SurfaceTransformFlagsKHR, ) -> Self
pub fn current_transform( self, current_transform: SurfaceTransformFlagsKHR, ) -> Self
pub fn supported_composite_alpha( self, supported_composite_alpha: CompositeAlphaFlagsKHR, ) -> Self
pub fn supported_usage_flags( self, supported_usage_flags: ImageUsageFlags, ) -> Self
pub fn supported_surface_counters( self, supported_surface_counters: SurfaceCounterFlagsEXT, ) -> Self
Trait Implementations§
source§impl<'a> Clone for SurfaceCapabilities2EXT<'a>
impl<'a> Clone for SurfaceCapabilities2EXT<'a>
source§fn clone(&self) -> SurfaceCapabilities2EXT<'a>
fn clone(&self) -> SurfaceCapabilities2EXT<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for SurfaceCapabilities2EXT<'a>
impl<'a> Debug for SurfaceCapabilities2EXT<'a>
source§impl Default for SurfaceCapabilities2EXT<'_>
impl Default for SurfaceCapabilities2EXT<'_>
source§impl<'a> TaggedStructure for SurfaceCapabilities2EXT<'a>
impl<'a> TaggedStructure for SurfaceCapabilities2EXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SURFACE_CAPABILITIES_2_EXT
impl<'a> Copy for SurfaceCapabilities2EXT<'a>
impl Send for SurfaceCapabilities2EXT<'_>
impl Sync for SurfaceCapabilities2EXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for SurfaceCapabilities2EXT<'a>
impl<'a> RefUnwindSafe for SurfaceCapabilities2EXT<'a>
impl<'a> Unpin for SurfaceCapabilities2EXT<'a>
impl<'a> UnwindSafe for SurfaceCapabilities2EXT<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)