Struct trace_recorder_parser::streaming::event::EventCount
source · pub struct EventCount(/* private fields */);
Methods from Deref<Target = u16>§
pub const MIN: u16 = 0u16
pub const MAX: u16 = 65_535u16
pub const BITS: u32 = 16u32
Trait Implementations§
source§impl Binary for EventCount
impl Binary for EventCount
source§impl Clone for EventCount
impl Clone for EventCount
source§fn clone(&self) -> EventCount
fn clone(&self) -> EventCount
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventCount
impl Debug for EventCount
source§impl Deref for EventCount
impl Deref for EventCount
source§impl Display for EventCount
impl Display for EventCount
source§impl From<EventCount> for u16
impl From<EventCount> for u16
source§fn from(original: EventCount) -> Self
fn from(original: EventCount) -> Self
Converts to this type from the input type.
source§impl Hash for EventCount
impl Hash for EventCount
source§impl LowerHex for EventCount
impl LowerHex for EventCount
source§impl Octal for EventCount
impl Octal for EventCount
source§impl Ord for EventCount
impl Ord for EventCount
source§fn cmp(&self, other: &EventCount) -> Ordering
fn cmp(&self, other: &EventCount) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for EventCount
impl PartialEq for EventCount
source§fn eq(&self, other: &EventCount) -> bool
fn eq(&self, other: &EventCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EventCount
impl PartialOrd for EventCount
source§fn partial_cmp(&self, other: &EventCount) -> Option<Ordering>
fn partial_cmp(&self, other: &EventCount) -> Option<Ordering>
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 moresource§impl UpperHex for EventCount
impl UpperHex for EventCount
impl Copy for EventCount
impl Eq for EventCount
impl StructuralPartialEq for EventCount
Auto Trait Implementations§
impl Freeze for EventCount
impl RefUnwindSafe for EventCount
impl Send for EventCount
impl Sync for EventCount
impl Unpin for EventCount
impl UnwindSafe for EventCount
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