[−][src]Struct val_unc::unc::Unc
An example implementation of an uncertatinty type
Trait Implementations
impl<T: Clone> Clone for Unc<T>
[src]
impl<T: Copy> Copy for Unc<T>
[src]
impl<T: Debug> Debug for Unc<T>
[src]
impl<T: Default> Default for Unc<T>
[src]
impl<T, U> Div<T> for Unc<U> where
U: Div<T, Output = U>,
[src]
U: Div<T, Output = U>,
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: T) -> Self
[src]
impl<T: Eq> Eq for Unc<T>
[src]
impl<T> From<T> for Unc<T>
[src]
impl<T: Hash> Hash for Unc<T>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T, U> Mul<T> for Unc<U> where
U: Mul<T, Output = U>,
[src]
U: Mul<T, Output = U>,
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: T) -> Self
[src]
impl<T: Ord> Ord for Unc<T>
[src]
fn cmp(&self, other: &Unc<T>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T: PartialEq> PartialEq<Unc<T>> for Unc<T>
[src]
impl<T: PartialOrd> PartialOrd<Unc<T>> for Unc<T>
[src]
fn partial_cmp(&self, other: &Unc<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &Unc<T>) -> bool
[src]
fn le(&self, other: &Unc<T>) -> bool
[src]
fn gt(&self, other: &Unc<T>) -> bool
[src]
fn ge(&self, other: &Unc<T>) -> bool
[src]
impl<T> StructuralEq for Unc<T>
[src]
impl<T> StructuralPartialEq for Unc<T>
[src]
impl<V, U> UncAdd<V> for Unc<U> where
U: Pow<u8, Output = U> + Sqrt + Add<U, Output = U>,
[src]
U: Pow<u8, Output = U> + Sqrt + Add<U, Output = U>,
impl<V, U> UncDiv<V> for Unc<U> where
U: Pow<u8, Output = U> + Sqrt + Add<U, Output = U> + Div<V, Output = U> + Mul<V, Output = U>,
V: Clone,
[src]
U: Pow<u8, Output = U> + Sqrt + Add<U, Output = U> + Div<V, Output = U> + Mul<V, Output = U>,
V: Clone,
impl<V, U> UncMul<V> for Unc<U> where
U: Pow<u8, Output = U> + Sqrt + Add<U, Output = U> + Div<V, Output = U> + Mul<V, Output = U>,
V: Clone,
[src]
U: Pow<u8, Output = U> + Sqrt + Add<U, Output = U> + Div<V, Output = U> + Mul<V, Output = U>,
V: Clone,
impl<V, U> UncSub<V> for Unc<U> where
U: Pow<u8, Output = U> + Sqrt + Add<U, Output = U>,
[src]
U: Pow<u8, Output = U> + Sqrt + Add<U, Output = U>,
impl<T> UncZero for Unc<T> where
T: Zero,
[src]
T: Zero,
Auto Trait Implementations
impl<T> RefUnwindSafe for Unc<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Unc<T> where
T: Send,
T: Send,
impl<T> Sync for Unc<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Unc<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Unc<T> where
T: UnwindSafe,
T: 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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
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.
fn to_owned(&self) -> T
[src]
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.
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>,