pub struct DeviceDiagnosticCheckpoints { /* private fields */ }
Expand description
Implementations§
Source§impl DeviceDiagnosticCheckpoints
impl DeviceDiagnosticCheckpoints
pub fn new(instance: &Instance, device: &Device) -> Self
Sourcepub unsafe fn cmd_set_checkpoint(
&self,
command_buffer: CommandBuffer,
p_checkpoint_marker: *const c_void,
)
pub unsafe fn cmd_set_checkpoint( &self, command_buffer: CommandBuffer, p_checkpoint_marker: *const c_void, )
Sourcepub unsafe fn get_queue_checkpoint_data_len(&self, queue: Queue) -> usize
pub unsafe fn get_queue_checkpoint_data_len(&self, queue: Queue) -> usize
Retrieve the number of elements to pass to get_queue_checkpoint_data()
Sourcepub unsafe fn get_queue_checkpoint_data(
&self,
queue: Queue,
out: &mut [CheckpointDataNV],
)
pub unsafe fn get_queue_checkpoint_data( &self, queue: Queue, out: &mut [CheckpointDataNV], )
Call get_queue_checkpoint_data_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) -> &NvDeviceDiagnosticCheckpointsFn
Trait Implementations§
Source§impl Clone for DeviceDiagnosticCheckpoints
impl Clone for DeviceDiagnosticCheckpoints
Source§fn clone(&self) -> DeviceDiagnosticCheckpoints
fn clone(&self) -> DeviceDiagnosticCheckpoints
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 DeviceDiagnosticCheckpoints
impl RefUnwindSafe for DeviceDiagnosticCheckpoints
impl Send for DeviceDiagnosticCheckpoints
impl Sync for DeviceDiagnosticCheckpoints
impl Unpin for DeviceDiagnosticCheckpoints
impl UnwindSafe for DeviceDiagnosticCheckpoints
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
)