Struct ash::vk::PhysicalDeviceGroupPropertiesBuilder
source · pub struct PhysicalDeviceGroupPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'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§
source§impl<'a> Deref for PhysicalDeviceGroupPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceGroupPropertiesBuilder<'a>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more