Struct ash::extensions::khr::DeviceGroupCreation
source · pub struct DeviceGroupCreation { /* private fields */ }
Expand description
Implementations§
source§impl DeviceGroupCreation
impl DeviceGroupCreation
pub fn new(entry: Entry, instance: &Instance) -> Self
sourcepub unsafe fn enumerate_physical_device_groups_len(&self) -> VkResult<usize>
pub unsafe fn enumerate_physical_device_groups_len(&self) -> VkResult<usize>
Retrieve the number of elements to pass to enumerate_physical_device_groups()
sourcepub unsafe fn enumerate_physical_device_groups(
&self,
out: &mut [PhysicalDeviceGroupProperties]
) -> VkResult<()>
pub unsafe fn enumerate_physical_device_groups( &self, out: &mut [PhysicalDeviceGroupProperties] ) -> VkResult<()>
Call enumerate_physical_device_groups_len()
to query the number of elements to pass to out
.
Be sure to Default::default()
-initialize these elements and optionally set their p_next
pointer.
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrDeviceGroupCreationFn
pub fn device(&self) -> Instance
👎Deprecated: typo: this function is called
device()
, but returns an Instance
.pub fn instance(&self) -> Instance
Trait Implementations§
source§impl Clone for DeviceGroupCreation
impl Clone for DeviceGroupCreation
source§fn clone(&self) -> DeviceGroupCreation
fn clone(&self) -> DeviceGroupCreation
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 moreAuto Trait Implementations§
impl Freeze for DeviceGroupCreation
impl RefUnwindSafe for DeviceGroupCreation
impl Send for DeviceGroupCreation
impl Sync for DeviceGroupCreation
impl Unpin for DeviceGroupCreation
impl UnwindSafe for DeviceGroupCreation
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