pub struct SurfaceCapabilitiesKHRBuilder { /* private fields */ }Expand description
Builder for SurfaceCapabilitiesKHR.
Implementations§
Source§impl SurfaceCapabilitiesKHRBuilder
impl SurfaceCapabilitiesKHRBuilder
pub fn min_image_count(self, value: u32) -> Self
pub fn max_image_count(self, value: u32) -> Self
pub fn current_extent(self, value: Extent2D) -> Self
pub fn min_image_extent(self, value: Extent2D) -> Self
pub fn max_image_extent(self, value: Extent2D) -> Self
pub fn max_image_array_layers(self, value: u32) -> Self
pub fn supported_transforms(self, value: SurfaceTransformFlagsKHR) -> Self
pub fn current_transform(self, value: SurfaceTransformFlagBitsKHR) -> Self
pub fn supported_composite_alpha(self, value: CompositeAlphaFlagsKHR) -> Self
pub fn supported_usage_flags(self, value: ImageUsageFlags) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SurfaceCapabilitiesKHRBuilder
impl RefUnwindSafe for SurfaceCapabilitiesKHRBuilder
impl Send for SurfaceCapabilitiesKHRBuilder
impl Sync for SurfaceCapabilitiesKHRBuilder
impl Unpin for SurfaceCapabilitiesKHRBuilder
impl UnsafeUnpin 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