[][src]Struct perf_event::Counts

pub struct Counts { /* fields omitted */ }

Methods

impl Counts[src]

pub fn get(&self, member: &Counter) -> Option<&u64>[src]

Important traits for CountsIter<'c>
pub fn iter(&self) -> CountsIter[src]

Trait Implementations

impl Debug for Counts[src]

impl<'_> Index<&'_ Counter> for Counts[src]

type Output = u64

The returned type after indexing.

impl<'c> IntoIterator for &'c Counts[src]

type Item = (u64, &'c u64)

The type of the elements being iterated over.

type IntoIter = CountsIter<'c>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl RefUnwindSafe for Counts

impl Send for Counts

impl Sync for Counts

impl Unpin for Counts

impl UnwindSafe for Counts

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.