Struct trace_recorder_parser::streaming::event::EventCode
source · pub struct EventCode(/* private fields */);
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 for EventCode
impl PartialEq for EventCode
source§impl PartialOrd for EventCode
impl PartialOrd 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 moreimpl Copy for EventCode
impl Eq for EventCode
impl StructuralPartialEq for EventCode
Auto Trait Implementations§
impl Freeze for EventCode
impl RefUnwindSafe for EventCode
impl Send for EventCode
impl Sync for EventCode
impl Unpin for EventCode
impl UnwindSafe for EventCode
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