#[repr(C)]pub struct ArchivedGpuObjectEventwhere
u64: Archive,
u32: Archive,
u8: Archive,
[u8; 3]: Archive,
HybridTimestamp: Archive,
f32: Archive,
[u32; 4]: Archive,
[u8; 36]: Archive,{Show 14 fields
pub event_id: Archived<u64>,
pub object_id: Archived<u64>,
pub activity_id: Archived<u32>,
pub event_type: Archived<u8>,
pub _padding1: Archived<[u8; 3]>,
pub timestamp: Archived<HybridTimestamp>,
pub resource_id: Archived<u32>,
pub cost: Archived<f32>,
pub duration_ms: Archived<u32>,
pub flags: Archived<u32>,
pub attributes: Archived<[u32; 4]>,
pub object_type_id: Archived<u32>,
pub related_object_id: Archived<u64>,
pub _reserved: Archived<[u8; 36]>,
}Expand description
An archived GpuObjectEvent
Fields§
§event_id: Archived<u64>The archived counterpart of GpuObjectEvent::event_id
object_id: Archived<u64>The archived counterpart of GpuObjectEvent::object_id
activity_id: Archived<u32>The archived counterpart of GpuObjectEvent::activity_id
event_type: Archived<u8>The archived counterpart of GpuObjectEvent::event_type
_padding1: Archived<[u8; 3]>The archived counterpart of GpuObjectEvent::_padding1
timestamp: Archived<HybridTimestamp>The archived counterpart of GpuObjectEvent::timestamp
resource_id: Archived<u32>The archived counterpart of GpuObjectEvent::resource_id
cost: Archived<f32>The archived counterpart of GpuObjectEvent::cost
duration_ms: Archived<u32>The archived counterpart of GpuObjectEvent::duration_ms
flags: Archived<u32>The archived counterpart of GpuObjectEvent::flags
attributes: Archived<[u32; 4]>The archived counterpart of GpuObjectEvent::attributes
object_type_id: Archived<u32>The archived counterpart of GpuObjectEvent::object_type_id
The archived counterpart of GpuObjectEvent::related_object_id
_reserved: Archived<[u8; 36]>The archived counterpart of GpuObjectEvent::_reserved
Auto Trait Implementations§
impl Freeze for ArchivedGpuObjectEvent
impl RefUnwindSafe for ArchivedGpuObjectEvent
impl Send for ArchivedGpuObjectEvent
impl Sync for ArchivedGpuObjectEvent
impl Unpin for ArchivedGpuObjectEvent
impl UnwindSafe for ArchivedGpuObjectEvent
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.