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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)