Struct vulkanalia::vk::SurfaceCapabilities2EXTBuilder
source · #[repr(transparent)]pub struct SurfaceCapabilities2EXTBuilder { /* private fields */ }
Expand description
A builder for a SurfaceCapabilities2EXT
.
Implementations§
source§impl SurfaceCapabilities2EXTBuilder
impl SurfaceCapabilities2EXTBuilder
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: impl Cast<Target = Extent2D> ) -> Self
pub fn min_image_extent( self, min_image_extent: impl Cast<Target = Extent2D> ) -> Self
pub fn max_image_extent( self, max_image_extent: impl Cast<Target = 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
pub fn build(self) -> SurfaceCapabilities2EXT
Trait Implementations§
source§impl Cast for SurfaceCapabilities2EXTBuilder
impl Cast for SurfaceCapabilities2EXTBuilder
§type Target = SurfaceCapabilities2EXT
type Target = SurfaceCapabilities2EXT
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SurfaceCapabilities2EXTBuilder
impl Clone for SurfaceCapabilities2EXTBuilder
source§fn clone(&self) -> SurfaceCapabilities2EXTBuilder
fn clone(&self) -> SurfaceCapabilities2EXTBuilder
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 Default for SurfaceCapabilities2EXTBuilder
impl Default for SurfaceCapabilities2EXTBuilder
source§fn default() -> SurfaceCapabilities2EXTBuilder
fn default() -> SurfaceCapabilities2EXTBuilder
Returns the “default value” for a type. Read more
impl Copy for SurfaceCapabilities2EXTBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SurfaceCapabilities2EXTBuilder
impl !Send for SurfaceCapabilities2EXTBuilder
impl !Sync for SurfaceCapabilities2EXTBuilder
impl Unpin for SurfaceCapabilities2EXTBuilder
impl UnwindSafe for SurfaceCapabilities2EXTBuilder
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