#[repr(transparent)]pub struct PhysicalDeviceGroupPropertiesBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceGroupProperties
.
Implementations§
source§impl PhysicalDeviceGroupPropertiesBuilder
impl PhysicalDeviceGroupPropertiesBuilder
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
pub fn build(self) -> PhysicalDeviceGroupProperties
Trait Implementations§
source§impl Cast for PhysicalDeviceGroupPropertiesBuilder
impl Cast for PhysicalDeviceGroupPropertiesBuilder
§type Target = PhysicalDeviceGroupProperties
type Target = PhysicalDeviceGroupProperties
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceGroupPropertiesBuilder
impl Clone for PhysicalDeviceGroupPropertiesBuilder
source§fn clone(&self) -> PhysicalDeviceGroupPropertiesBuilder
fn clone(&self) -> PhysicalDeviceGroupPropertiesBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PhysicalDeviceGroupPropertiesBuilder
impl Default for PhysicalDeviceGroupPropertiesBuilder
source§fn default() -> PhysicalDeviceGroupPropertiesBuilder
fn default() -> PhysicalDeviceGroupPropertiesBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceGroupPropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceGroupPropertiesBuilder
impl !Send for PhysicalDeviceGroupPropertiesBuilder
impl !Sync for PhysicalDeviceGroupPropertiesBuilder
impl Unpin for PhysicalDeviceGroupPropertiesBuilder
impl UnwindSafe for PhysicalDeviceGroupPropertiesBuilder
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