Struct trace_recorder_parser::streaming::event::EventCode
source · pub struct EventCode(_);
Expand description
Event codes for streaming mode Note that the upper 4 bits are the parameter count
Implementations§
source§impl EventCode
impl EventCode
pub fn event_id(&self) -> EventId
pub fn event_type(&self) -> EventType
sourcepub fn parameter_count(&self) -> EventParameterCount
pub fn parameter_count(&self) -> EventParameterCount
Return the number of 32-bit parameters for the event
Trait Implementations§
source§impl Ord for EventCode
impl Ord for EventCode
source§impl PartialEq<EventCode> for EventCode
impl PartialEq<EventCode> for EventCode
source§impl PartialOrd<EventCode> for EventCode
impl PartialOrd<EventCode> for EventCode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more