#[repr(transparent)]pub struct DeviceGroupSwapchainCreateInfoKHRBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
impl<'a> DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
pub fn modes(
self,
modes: DeviceGroupPresentModeFlagsKHR
) -> DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
sourcepub fn build(self) -> DeviceGroupSwapchainCreateInfoKHR
pub fn build(self) -> DeviceGroupSwapchainCreateInfoKHR
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 DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
impl<'a> Deref for DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
type Target = DeviceGroupSwapchainCreateInfoKHR
type Target = DeviceGroupSwapchainCreateInfoKHR
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<DeviceGroupSwapchainCreateInfoKHRBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<DeviceGroupSwapchainCreateInfoKHRBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
impl<'a> DerefMut for DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <DeviceGroupSwapchainCreateInfoKHRBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <DeviceGroupSwapchainCreateInfoKHRBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsSwapchainCreateInfoKHR for DeviceGroupSwapchainCreateInfoKHRBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
impl<'a> !Send for DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
impl<'a> !Sync for DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
impl<'a> Unpin for DeviceGroupSwapchainCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for DeviceGroupSwapchainCreateInfoKHRBuilder<'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