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> Freeze for PhysicalDeviceGroupPropertiesBuilder<'a>
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