[−][src]Struct al::evalns::ScopedNamespace
Methods
impl<'a> ScopedNamespace<'a>
[src]
pub fn new<F>(cb: F) -> Self where
F: FnMut(&str, Vec<f64>) -> Option<f64> + 'a,
[src]
F: FnMut(&str, Vec<f64>) -> Option<f64> + 'a,
pub fn push(&mut self)
[src]
pub fn pop(&mut self)
[src]
pub fn eval_bubble(
&mut self,
slab: &Slab,
evaler: &impl Evaler
) -> Result<f64, KErr>
[src]
&mut self,
slab: &Slab,
evaler: &impl Evaler
) -> Result<f64, KErr>
pub fn eval(&mut self, slab: &Slab, evaler: &impl Evaler) -> Result<f64, KErr>
[src]
Trait Implementations
impl<'_> EvalNamespace for ScopedNamespace<'_>
[src]
fn get_cached(&mut self, name: &str, args: Vec<f64>) -> Option<f64>
[src]
fn set_cached(&mut self, name: String, val: f64)
[src]
fn create_cached(&mut self, name: String, val: f64) -> Result<(), KErr>
[src]
fn clear_cached(&mut self)
[src]
fn eval(&mut self, slab: &Slab, evaler: &impl Evaler) -> Result<f64, KErr> where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl<'a> !Send for ScopedNamespace<'a>
impl<'a> !Sync for ScopedNamespace<'a>
impl<'a> Unpin for ScopedNamespace<'a>
impl<'a> !UnwindSafe for ScopedNamespace<'a>
impl<'a> !RefUnwindSafe for ScopedNamespace<'a>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,