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