#[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
) -> DisplayPlaneCapabilitiesKHRBuilder<'a>
pub fn min_src_position(
self,
min_src_position: Offset2D
) -> DisplayPlaneCapabilitiesKHRBuilder<'a>
pub fn max_src_position(
self,
max_src_position: Offset2D
) -> DisplayPlaneCapabilitiesKHRBuilder<'a>
pub fn min_src_extent(
self,
min_src_extent: Extent2D
) -> DisplayPlaneCapabilitiesKHRBuilder<'a>
pub fn max_src_extent(
self,
max_src_extent: Extent2D
) -> DisplayPlaneCapabilitiesKHRBuilder<'a>
pub fn min_dst_position(
self,
min_dst_position: Offset2D
) -> DisplayPlaneCapabilitiesKHRBuilder<'a>
pub fn max_dst_position(
self,
max_dst_position: Offset2D
) -> DisplayPlaneCapabilitiesKHRBuilder<'a>
pub fn min_dst_extent(
self,
min_dst_extent: Extent2D
) -> DisplayPlaneCapabilitiesKHRBuilder<'a>
pub fn max_dst_extent(
self,
max_dst_extent: Extent2D
) -> DisplayPlaneCapabilitiesKHRBuilder<'a>
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.
sourcefn deref(&self) -> &<DisplayPlaneCapabilitiesKHRBuilder<'a> as Deref>::Target
fn deref(&self) -> &<DisplayPlaneCapabilitiesKHRBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for DisplayPlaneCapabilitiesKHRBuilder<'a>
impl<'a> DerefMut for DisplayPlaneCapabilitiesKHRBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <DisplayPlaneCapabilitiesKHRBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <DisplayPlaneCapabilitiesKHRBuilder<'a> as Deref>::Target
Mutably dereferences the value.
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more