[][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 ContextMut for HashMapContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.