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 PartialOrd for EventCode
impl PartialOrd for EventCode
impl 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