[−][src]Struct val_unc::val_unc::ValUnc
A type with a value and uncertainties.
Fields
val: V
unc: U
Methods
impl<V, U> ValUnc<V, U>
[src]
Trait Implementations
impl<V, U> Add<ValUnc<V, U>> for ValUnc<V, U> where
V: Add<V, Output = V> + Copy,
U: UncAdd<V>,
[src]
V: Add<V, Output = V> + Copy,
U: UncAdd<V>,
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<V: Clone, U: Clone> Clone for ValUnc<V, U>
[src]
impl<V: Copy, U: Copy> Copy for ValUnc<V, U>
[src]
impl<V: Debug, U: Debug> Debug for ValUnc<V, U>
[src]
impl<V: Default, U: Default> Default for ValUnc<V, U>
[src]
impl<V, U> Div<ValUnc<V, U>> for ValUnc<V, U> where
V: Div<V, Output = V> + Copy,
U: UncDiv<V>,
[src]
V: Div<V, Output = V> + Copy,
U: UncDiv<V>,
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self
[src]
impl<V: Eq, U: Eq> Eq for ValUnc<V, U>
[src]
impl<V, U> From<V> for ValUnc<V, U> where
U: Default,
[src]
U: Default,
impl<V: Hash, U: Hash> Hash for ValUnc<V, U>
[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<V, U> Mul<ValUnc<V, U>> for ValUnc<V, U> where
V: Mul<V, Output = V> + Copy,
U: UncMul<V>,
[src]
V: Mul<V, Output = V> + Copy,
U: UncMul<V>,
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
impl<V, U> Neg for ValUnc<V, U> where
V: Neg<Output = V> + Copy,
U: UncNeg<V>,
[src]
V: Neg<Output = V> + Copy,
U: UncNeg<V>,
impl<V: Ord, U: Ord> Ord for ValUnc<V, U>
[src]
fn cmp(&self, other: &ValUnc<V, U>) -> 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<V: PartialEq, U: PartialEq> PartialEq<ValUnc<V, U>> for ValUnc<V, U>
[src]
impl<V: PartialOrd, U: PartialOrd> PartialOrd<ValUnc<V, U>> for ValUnc<V, U>
[src]
fn partial_cmp(&self, other: &ValUnc<V, U>) -> Option<Ordering>
[src]
fn lt(&self, other: &ValUnc<V, U>) -> bool
[src]
fn le(&self, other: &ValUnc<V, U>) -> bool
[src]
fn gt(&self, other: &ValUnc<V, U>) -> bool
[src]
fn ge(&self, other: &ValUnc<V, U>) -> bool
[src]
impl<V, U> StructuralEq for ValUnc<V, U>
[src]
impl<V, U> StructuralPartialEq for ValUnc<V, U>
[src]
impl<V, U> Sub<ValUnc<V, U>> for ValUnc<V, U> where
V: Sub<V, Output = V> + Copy,
U: UncSub<V>,
[src]
V: Sub<V, Output = V> + Copy,
U: UncSub<V>,
Auto Trait Implementations
impl<V, U> RefUnwindSafe for ValUnc<V, U> where
U: RefUnwindSafe,
V: RefUnwindSafe,
U: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, U> Send for ValUnc<V, U> where
U: Send,
V: Send,
U: Send,
V: Send,
impl<V, U> Sync for ValUnc<V, U> where
U: Sync,
V: Sync,
U: Sync,
V: Sync,
impl<V, U> Unpin for ValUnc<V, U> where
U: Unpin,
V: Unpin,
U: Unpin,
V: Unpin,
impl<V, U> UnwindSafe for ValUnc<V, U> where
U: UnwindSafe,
V: UnwindSafe,
U: 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,
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>,