Struct ash::extensions::ext::PrivateData
source · 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