pub struct DisplayPlaneCapabilitiesKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> DisplayPlaneCapabilitiesKHRBuilder<'a>
impl<'a> DisplayPlaneCapabilitiesKHRBuilder<'a>
pub fn supported_alpha(self, supported_alpha: DisplayPlaneAlphaFlagsKHR) -> Self
pub fn min_src_position(self, min_src_position: Offset2D) -> Self
pub fn max_src_position(self, max_src_position: Offset2D) -> Self
pub fn min_src_extent(self, min_src_extent: Extent2D) -> Self
pub fn max_src_extent(self, max_src_extent: Extent2D) -> Self
pub fn min_dst_position(self, min_dst_position: Offset2D) -> Self
pub fn max_dst_position(self, max_dst_position: Offset2D) -> Self
pub fn min_dst_extent(self, min_dst_extent: Extent2D) -> Self
pub fn max_dst_extent(self, max_dst_extent: Extent2D) -> Self
Sourcepub fn build(self) -> DisplayPlaneCapabilitiesKHR
pub fn build(self) -> DisplayPlaneCapabilitiesKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for DisplayPlaneCapabilitiesKHRBuilder<'a>
impl<'a> Deref for DisplayPlaneCapabilitiesKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DisplayPlaneCapabilitiesKHRBuilder<'a>
impl<'a> RefUnwindSafe for DisplayPlaneCapabilitiesKHRBuilder<'a>
impl<'a> Send for DisplayPlaneCapabilitiesKHRBuilder<'a>
impl<'a> Sync for DisplayPlaneCapabilitiesKHRBuilder<'a>
impl<'a> Unpin for DisplayPlaneCapabilitiesKHRBuilder<'a>
impl<'a> UnwindSafe for DisplayPlaneCapabilitiesKHRBuilder<'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