Struct trace_recorder_parser::streaming::event::EventCount
source · [−]pub struct EventCount(_);
Methods from Deref<Target = u16>
Trait Implementations
sourceimpl Binary for EventCount
impl Binary for EventCount
sourceimpl Clone for EventCount
impl Clone for EventCount
sourcefn clone(&self) -> EventCount
fn clone(&self) -> EventCount
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EventCount
impl Debug for EventCount
sourceimpl Deref for EventCount
impl Deref for EventCount
sourceimpl Display for EventCount
impl Display for EventCount
sourceimpl From<EventCount> for u16
impl From<EventCount> for u16
sourcefn from(original: EventCount) -> Self
fn from(original: EventCount) -> Self
Converts to this type from the input type.
sourceimpl Hash for EventCount
impl Hash for EventCount
sourceimpl LowerHex for EventCount
impl LowerHex for EventCount
sourceimpl Octal for EventCount
impl Octal for EventCount
sourceimpl Ord for EventCount
impl Ord for EventCount
sourcefn cmp(&self, other: &EventCount) -> Ordering
fn cmp(&self, other: &EventCount) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<EventCount> for EventCount
impl PartialEq<EventCount> for EventCount
sourcefn eq(&self, other: &EventCount) -> bool
fn eq(&self, other: &EventCount) -> bool
sourceimpl PartialOrd<EventCount> for EventCount
impl PartialOrd<EventCount> for EventCount
sourcefn partial_cmp(&self, other: &EventCount) -> Option<Ordering>
fn partial_cmp(&self, other: &EventCount) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl UpperHex for EventCount
impl UpperHex for EventCount
impl Copy for EventCount
impl Eq for EventCount
impl StructuralEq for EventCount
impl StructuralPartialEq for EventCount
Auto Trait Implementations
impl RefUnwindSafe for EventCount
impl Send for EventCount
impl Sync for EventCount
impl Unpin for EventCount
impl UnwindSafe for EventCount
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more