Struct ash::vk::definitions::PhysicalDeviceGroupProperties
source · #[repr(C)]pub struct PhysicalDeviceGroupProperties<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub physical_device_count: u32,
pub physical_devices: [PhysicalDevice; 32],
pub subset_allocation: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§physical_device_count: u32
§physical_devices: [PhysicalDevice; 32]
§subset_allocation: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceGroupProperties<'a>
impl<'a> PhysicalDeviceGroupProperties<'a>
pub fn physical_devices(self, physical_devices: &[PhysicalDevice]) -> Self
pub fn physical_devices_as_slice(&self) -> &[PhysicalDevice]
pub fn subset_allocation(self, subset_allocation: bool) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceGroupProperties<'a>
impl<'a> Clone for PhysicalDeviceGroupProperties<'a>
source§fn clone(&self) -> PhysicalDeviceGroupProperties<'a>
fn clone(&self) -> PhysicalDeviceGroupProperties<'a>
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 Debug for PhysicalDeviceGroupProperties<'_>
impl Debug for PhysicalDeviceGroupProperties<'_>
source§impl Default for PhysicalDeviceGroupProperties<'_>
impl Default for PhysicalDeviceGroupProperties<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceGroupProperties<'a>
impl<'a> TaggedStructure for PhysicalDeviceGroupProperties<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_GROUP_PROPERTIES
impl<'a> Copy for PhysicalDeviceGroupProperties<'a>
impl Send for PhysicalDeviceGroupProperties<'_>
impl Sync for PhysicalDeviceGroupProperties<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceGroupProperties<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceGroupProperties<'a>
impl<'a> Unpin for PhysicalDeviceGroupProperties<'a>
impl<'a> UnwindSafe for PhysicalDeviceGroupProperties<'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