pub struct PrivateData { /* private fields */ }
Expand description
Implementations§
Source§impl PrivateData
impl PrivateData
pub fn new(instance: &Instance, device: &Device) -> Self
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
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &ExtPrivateDataFn
pub fn device(&self) -> Device
Trait Implementations§
Source§impl Clone for PrivateData
impl Clone for PrivateData
Source§fn clone(&self) -> PrivateData
fn clone(&self) -> PrivateData
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 PrivateData
impl RefUnwindSafe for PrivateData
impl Send for PrivateData
impl Sync for PrivateData
impl Unpin for PrivateData
impl UnwindSafe for PrivateData
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
)