Struct ash::vk::DisplayPlaneCapabilitiesKHRBuilder
source · [−]#[repr(transparent)]pub struct DisplayPlaneCapabilitiesKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for DisplayPlaneCapabilitiesKHRBuilder<'a>
impl<'a> Deref for DisplayPlaneCapabilitiesKHRBuilder<'a>
type Target = DisplayPlaneCapabilitiesKHR
type Target = DisplayPlaneCapabilitiesKHR
The resulting type after dereferencing.
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more