Struct ash::vk::PhysicalDeviceGroupPropertiesBuilder
source · [−]#[repr(transparent)]pub struct PhysicalDeviceGroupPropertiesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PhysicalDeviceGroupPropertiesBuilder<'a>
impl<'a> PhysicalDeviceGroupPropertiesBuilder<'a>
pub fn physical_device_count(self, physical_device_count: u32) -> Self
pub fn physical_devices(self, physical_devices: [PhysicalDevice; 32]) -> Self
pub fn subset_allocation(self, subset_allocation: bool) -> Self
sourcepub fn build(self) -> PhysicalDeviceGroupProperties
pub fn build(self) -> PhysicalDeviceGroupProperties
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 PhysicalDeviceGroupPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceGroupPropertiesBuilder<'a>
type Target = PhysicalDeviceGroupProperties
type Target = PhysicalDeviceGroupProperties
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceGroupPropertiesBuilder<'a>
impl<'a> !Send for PhysicalDeviceGroupPropertiesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceGroupPropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceGroupPropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceGroupPropertiesBuilder<'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