#[repr(C)]
pub struct Dart_TimelineRecorderEvent { pub version: i32, pub type_: Dart_Timeline_Event_Type, pub timestamp0: i64, pub timestamp1_or_id: i64, pub isolate: Dart_Port, pub isolate_group: Dart_IsolateGroupId, pub isolate_data: *mut c_void, pub isolate_group_data: *mut c_void, pub label: *const c_char, pub stream: *const c_char, pub argument_count: isize, pub arguments: *mut Dart_TimelineRecorderEvent_Argument, }

Fields§

§version: i32§type_: Dart_Timeline_Event_Type§timestamp0: i64§timestamp1_or_id: i64

For a duration event, this is the end time. For an async event, this is the async ID. For a flow event, this is the flow ID. For a begin or end event, this is the event ID (which is only referenced by the MacOS recorder).

§isolate: Dart_Port§isolate_group: Dart_IsolateGroupId§isolate_data: *mut c_void§isolate_group_data: *mut c_void§label: *const c_char§stream: *const c_char§argument_count: isize§arguments: *mut Dart_TimelineRecorderEvent_Argument

Trait Implementations§

source§

impl Clone for Dart_TimelineRecorderEvent

source§

fn clone(&self) -> Dart_TimelineRecorderEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Dart_TimelineRecorderEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for Dart_TimelineRecorderEvent

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.