[][src]Struct evalexpr::HashMapContext

pub struct HashMapContext { /* fields omitted */ }

A context that stores its mappings in hash maps.

Value and function mappings are stored independently, meaning that there can be a function and a value with the same identifier.

This context is type-safe, meaning that an identifier that is assigned a value of some type once cannot be assigned a value of another type.

Methods

impl HashMapContext[src]

pub fn new() -> Self[src]

Constructs a HashMapContext with no mappings.

Trait Implementations

impl Context for HashMapContext[src]

impl Default for HashMapContext[src]

impl Debug for HashMapContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]