pub struct Context<N> {
pub history: Vec<N>,
}
Expand description
Calculation context.
Stores a history of calculated values, so that the history lookups (@
) work properly.
Also reifies the numeric type backing the calculations.
Fields
history: Vec<N>
Implementations
Trait Implementations
Auto Trait Implementations
impl<N> RefUnwindSafe for Context<N> where
N: RefUnwindSafe,
impl<N> Send for Context<N> where
N: Send,
impl<N> Sync for Context<N> where
N: Sync,
impl<N> Unpin for Context<N> where
N: Unpin,
impl<N> UnwindSafe for Context<N> where
N: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more