[][src]Struct geiger::CounterBlock

pub struct CounterBlock {
    pub functions: Count,
    pub exprs: Count,
    pub item_impls: Count,
    pub item_traits: Count,
    pub methods: Count,

Unsafe usage metrics collection.


functions: Countexprs: Countitem_impls: Countitem_traits: Countmethods: Count


impl CounterBlock[src]

pub fn has_unsafe(&self) -> bool[src]

Trait Implementations

impl Clone for CounterBlock[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for CounterBlock[src]

impl Debug for CounterBlock[src]

impl Add<CounterBlock> for CounterBlock[src]

type Output = CounterBlock

The resulting type after applying the + operator.

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

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