#[repr(C)]pub struct nvtxEventAttributes_v2 {
pub version: u16,
pub size: u16,
pub category: u32,
pub colorType: i32,
pub color: u32,
pub payloadType: i32,
pub reserved0: i32,
pub payload: nvtxEventAttributes_v2_payload_t,
pub messageType: i32,
pub message: nvtxMessageValue_t,
}Fields§
§version: u16§size: u16§category: u32§colorType: i32§color: u32§payloadType: i32§reserved0: i32§payload: nvtxEventAttributes_v2_payload_t§messageType: i32§message: nvtxMessageValue_tTrait Implementations§
Source§impl Clone for nvtxEventAttributes_v2
impl Clone for nvtxEventAttributes_v2
Source§fn clone(&self) -> nvtxEventAttributes_v2
fn clone(&self) -> nvtxEventAttributes_v2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for nvtxEventAttributes_v2
Auto Trait Implementations§
impl !Send for nvtxEventAttributes_v2
impl !Sync for nvtxEventAttributes_v2
impl Freeze for nvtxEventAttributes_v2
impl RefUnwindSafe for nvtxEventAttributes_v2
impl Unpin for nvtxEventAttributes_v2
impl UnsafeUnpin for nvtxEventAttributes_v2
impl UnwindSafe for nvtxEventAttributes_v2
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