[][src]Struct ndhistogram::VecHistogram

pub struct VecHistogram<A, V> { /* fields omitted */ }

A Histogram that stores its values in a Vec.

See ndhistogram for examples of its use.

Implementations

impl<A: Axes, V: Default + Clone> VecHistogram<A, V>[src]

pub fn new(axes: A) -> VecHistogram<A, V>[src]

Trait Implementations

impl<A: Clone, V: Clone> Clone for VecHistogram<A, V>[src]

impl<A: Debug, V: Debug> Debug for VecHistogram<A, V>[src]

impl<A: Axes, V> Display for VecHistogram<A, V>[src]

impl<A: Axes, V> Histogram<A, V> for VecHistogram<A, V>[src]

impl<'a, A: Axes, V> IntoIterator for &'a VecHistogram<A, V>[src]

type Item = Item<A::BinInterval, &'a V>

The type of the elements being iterated over.

type IntoIter = Box<dyn Iterator<Item = Item<<A as Axis>::BinInterval, &'a V>> + 'a>

Which kind of iterator are we turning this into?

impl<'a, A: Axes, V: 'a> IntoIterator for &'a mut VecHistogram<A, V>[src]

type Item = Item<A::BinInterval, &'a mut V>

The type of the elements being iterated over.

type IntoIter = Box<dyn Iterator<Item = Item<<A as Axis>::BinInterval, &'a mut V>> + 'a>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<A, V> RefUnwindSafe for VecHistogram<A, V> where
    A: RefUnwindSafe,
    V: RefUnwindSafe
[src]

impl<A, V> Send for VecHistogram<A, V> where
    A: Send,
    V: Send
[src]

impl<A, V> Sync for VecHistogram<A, V> where
    A: Sync,
    V: Sync
[src]

impl<A, V> Unpin for VecHistogram<A, V> where
    A: Unpin,
    V: Unpin
[src]

impl<A, V> UnwindSafe for VecHistogram<A, V> where
    A: UnwindSafe,
    V: UnwindSafe
[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.