Module ripin::variable [] [src]

Useful structs to use variables with expressions

Structs

DummyVariable

Struct that implement TryFromRef and always returns Err, used to fake variables when don't needed in expressions.

DummyVariables

Struct that implement Index, used to fake variables when don't needed in expressions.

IndexVar

Default variable keeping an index on an Indexable variable container. Like a Vec or an HashMap for example.

Traits

GetVariable

This trait allow Expression to retrieve variables from an from a container using an index variable like IndexVar.