pub struct Table1D<T>(pub Vec<T>);
Expand description
1D table of constants.
Tuple Fields§
§0: Vec<T>
Implementations§
source§impl<T> Table1D<T>
impl<T> Table1D<T>
Trait Implementations§
source§impl<T: AbsDiffEq> AbsDiffEq for Table1D<T>
impl<T: AbsDiffEq> AbsDiffEq for Table1D<T>
source§fn default_epsilon() -> T::Epsilon
fn default_epsilon() -> T::Epsilon
The default tolerance to use when testing values that are close together. Read more
source§fn abs_diff_eq(&self, other: &Self, epsilon: T::Epsilon) -> bool
fn abs_diff_eq(&self, other: &Self, epsilon: T::Epsilon) -> bool
A test for equality that uses the absolute difference to compute the approximate
equality of two numbers.
source§fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
The inverse of
AbsDiffEq::abs_diff_eq
.source§impl<T: PartialEq> PartialEq for Table1D<T>
impl<T: PartialEq> PartialEq for Table1D<T>
source§impl<T: RelativeEq> RelativeEq for Table1D<T>
impl<T: RelativeEq> RelativeEq for Table1D<T>
source§fn default_max_relative() -> T::Epsilon
fn default_max_relative() -> T::Epsilon
The default relative tolerance for testing values that are far-apart. Read more
source§fn relative_eq(
&self,
other: &Self,
epsilon: T::Epsilon,
max_relative: T::Epsilon,
) -> bool
fn relative_eq( &self, other: &Self, epsilon: T::Epsilon, max_relative: T::Epsilon, ) -> bool
A test for equality that uses a relative comparison if the values are far apart.
source§fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon,
) -> bool
fn relative_ne( &self, other: &Rhs, epsilon: Self::Epsilon, max_relative: Self::Epsilon, ) -> bool
The inverse of
RelativeEq::relative_eq
.impl<T> StructuralPartialEq for Table1D<T>
Auto Trait Implementations§
impl<T> Freeze for Table1D<T>
impl<T> RefUnwindSafe for Table1D<T>where
T: RefUnwindSafe,
impl<T> Send for Table1D<T>where
T: Send,
impl<T> Sync for Table1D<T>where
T: Sync,
impl<T> Unpin for Table1D<T>where
T: Unpin,
impl<T> UnwindSafe for Table1D<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more