pub struct VkQueueSubmit {
pub duration_ns: Option<u64>,
pub pid: Option<u32>,
pub tid: Option<u32>,
pub vk_queue: Option<u64>,
pub vk_command_buffers: Vec<u64>,
pub submission_id: Option<u32>,
}
Expand description
For recording vkQueueSubmit call.
Fields§
§duration_ns: Option<u64>
§pid: Option<u32>
§tid: Option<u32>
§vk_queue: Option<u64>
§vk_command_buffers: Vec<u64>
§submission_id: Option<u32>
Submission ID. An identifier unique to each vkQueueSubmit call. This submission_id must match GpuRenderStageEvent.submission_id if the GpuRenderStageEvent is created due to this vkQueueSubmit.
Implementations§
Source§impl VkQueueSubmit
impl VkQueueSubmit
Sourcepub fn duration_ns(&self) -> u64
pub fn duration_ns(&self) -> u64
Returns the value of duration_ns
, or the default value if duration_ns
is unset.
Sourcepub fn vk_queue(&self) -> u64
pub fn vk_queue(&self) -> u64
Returns the value of vk_queue
, or the default value if vk_queue
is unset.
Sourcepub fn submission_id(&self) -> u32
pub fn submission_id(&self) -> u32
Returns the value of submission_id
, or the default value if submission_id
is unset.
Trait Implementations§
Source§impl Clone for VkQueueSubmit
impl Clone for VkQueueSubmit
Source§fn clone(&self) -> VkQueueSubmit
fn clone(&self) -> VkQueueSubmit
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 moreSource§impl Debug for VkQueueSubmit
impl Debug for VkQueueSubmit
Source§impl Default for VkQueueSubmit
impl Default for VkQueueSubmit
Source§impl Message for VkQueueSubmit
impl Message for VkQueueSubmit
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for VkQueueSubmit
impl PartialEq for VkQueueSubmit
impl StructuralPartialEq for VkQueueSubmit
Auto Trait Implementations§
impl Freeze for VkQueueSubmit
impl RefUnwindSafe for VkQueueSubmit
impl Send for VkQueueSubmit
impl Sync for VkQueueSubmit
impl Unpin for VkQueueSubmit
impl UnwindSafe for VkQueueSubmit
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