[−][src]Struct ndhistogram::Item
Struct to be returned when iterating over Histograms bins.
Fields
index: usize
Bin number
bin: T
Bin interval. See Axis::BinInterval.
value: V
Bin value.
Implementations
impl<T, V> Item<T, V>
[src]
Trait Implementations
impl<T: Clone, V: Clone> Clone for Item<T, V>
[src]
impl<T: Copy, V: Copy> Copy for Item<T, V>
[src]
impl<T: Debug, V: Debug> Debug for Item<T, V>
[src]
impl<T: Default, V: Default> Default for Item<T, V>
[src]
impl<'de, T, V> Deserialize<'de> for Item<T, V> where
T: Deserialize<'de>,
V: Deserialize<'de>,
[src]
T: Deserialize<'de>,
V: Deserialize<'de>,
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<T: Eq, V: Eq> Eq for Item<T, V>
[src]
impl<T: Hash, V: Hash> Hash for Item<T, V>
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: Ord, V: Ord> Ord for Item<T, V>
[src]
pub fn cmp(&self, other: &Item<T, V>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<T: PartialEq, V: PartialEq> PartialEq<Item<T, V>> for Item<T, V>
[src]
impl<T: PartialOrd, V: PartialOrd> PartialOrd<Item<T, V>> for Item<T, V>
[src]
pub fn partial_cmp(&self, other: &Item<T, V>) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Item<T, V>) -> bool
[src]
pub fn le(&self, other: &Item<T, V>) -> bool
[src]
pub fn gt(&self, other: &Item<T, V>) -> bool
[src]
pub fn ge(&self, other: &Item<T, V>) -> bool
[src]
impl<T, V> Serialize for Item<T, V> where
T: Serialize,
V: Serialize,
[src]
T: Serialize,
V: Serialize,
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<T, V> StructuralEq for Item<T, V>
[src]
impl<T, V> StructuralPartialEq for Item<T, V>
[src]
Auto Trait Implementations
impl<T, V> RefUnwindSafe for Item<T, V> where
T: RefUnwindSafe,
V: RefUnwindSafe,
[src]
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<T, V> Send for Item<T, V> where
T: Send,
V: Send,
[src]
T: Send,
V: Send,
impl<T, V> Sync for Item<T, V> where
T: Sync,
V: Sync,
[src]
T: Sync,
V: Sync,
impl<T, V> Unpin for Item<T, V> where
T: Unpin,
V: Unpin,
[src]
T: Unpin,
V: Unpin,
impl<T, V> UnwindSafe for Item<T, V> where
T: UnwindSafe,
V: UnwindSafe,
[src]
T: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,