Struct ash::ext::private_data::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_EXT_private_data device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn create_private_data_slot(
&self,
create_info: &PrivateDataSlotCreateInfoEXT<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<PrivateDataSlotEXT>
pub unsafe fn create_private_data_slot( &self, create_info: &PrivateDataSlotCreateInfoEXT<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<PrivateDataSlotEXT>
sourcepub unsafe fn destroy_private_data_slot(
&self,
private_data_slot: PrivateDataSlotEXT,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_private_data_slot( &self, private_data_slot: PrivateDataSlotEXT, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn set_private_data<T: Handle>(
&self,
object: T,
private_data_slot: PrivateDataSlotEXT,
data: u64,
) -> VkResult<()>
pub unsafe fn set_private_data<T: Handle>( &self, object: T, private_data_slot: PrivateDataSlotEXT, data: u64, ) -> VkResult<()>
sourcepub unsafe fn get_private_data<T: Handle>(
&self,
object: T,
private_data_slot: PrivateDataSlotEXT,
) -> u64
pub unsafe fn get_private_data<T: Handle>( &self, object: T, private_data_slot: PrivateDataSlotEXT, ) -> u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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