Struct ash::vk::DeviceGroupPresentInfoKHRBuilder
source · [−]#[repr(transparent)]pub struct DeviceGroupPresentInfoKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> DeviceGroupPresentInfoKHRBuilder<'a>
impl<'a> DeviceGroupPresentInfoKHRBuilder<'a>
pub fn device_masks(self, device_masks: &'a [u32]) -> Self
pub fn mode(self, mode: DeviceGroupPresentModeFlagsKHR) -> Self
sourcepub fn build(self) -> DeviceGroupPresentInfoKHR
pub fn build(self) -> DeviceGroupPresentInfoKHR
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 DeviceGroupPresentInfoKHRBuilder<'a>
impl<'a> Deref for DeviceGroupPresentInfoKHRBuilder<'a>
type Target = DeviceGroupPresentInfoKHR
type Target = DeviceGroupPresentInfoKHR
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for DeviceGroupPresentInfoKHRBuilder<'a>
impl<'a> DerefMut for DeviceGroupPresentInfoKHRBuilder<'a>
impl ExtendsPresentInfoKHR for DeviceGroupPresentInfoKHRBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for DeviceGroupPresentInfoKHRBuilder<'a>
impl<'a> !Send for DeviceGroupPresentInfoKHRBuilder<'a>
impl<'a> !Sync for DeviceGroupPresentInfoKHRBuilder<'a>
impl<'a> Unpin for DeviceGroupPresentInfoKHRBuilder<'a>
impl<'a> UnwindSafe for DeviceGroupPresentInfoKHRBuilder<'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