A type that represents Lisp values.
Values of this type can be copied around, but are lifetime-bound to the
Env they come from.
They are also "proxy values" that are only useful when converted to Rust values, or used as arguments when calling back into the Lisp runtime.
env: &'e Env
Converts this value into a Rust value of the given type.
Returns a mutable reference to the underlying Rust data wrapped by this value.
There are several ways this can go wrong:
- Lisp code can pass the same object through 2 different values in an argument list.
- Rust code earlier in the call chain may have copied this value.
- Rust code later in the call chain may receive a copy of this value.
In general, it is better to wrap Rust data in
RwLock guards, before
moving them to Lisp, and then only access them through these guards (which can be obtained
into_rust). This method is for squeezing out the last bit of performance in
very rare situations.
default fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from
source. Read more
type Error = Infallible
The type returned in the event of a conversion error.