Trait emacs::IntoLisp[][src]

pub trait IntoLisp<'e> {
    fn into_lisp(self, env: &'e Env) -> Result<Value<'e>>;
}

Converting a Rust type into Lisp Value.

Implementations

The lifetime parameter is put on the trait itself, instead of the method. This allows the impl for Value to simply return the input, instead of having to create a new Value.

Required Methods

Implementations on Foreign Types

impl<'e> IntoLisp<'e> for ()
[src]

impl<'e> IntoLisp<'e> for bool
[src]

impl<'e> IntoLisp<'e> for i64
[src]

impl<'e> IntoLisp<'e> for f64
[src]

impl<'e, 'a, T: AsRef<str> + ?Sized> IntoLisp<'e> for &'a T
[src]

impl<'e> IntoLisp<'e> for String
[src]

impl<'e, T: IntoLisp<'e>> IntoLisp<'e> for Option<T>
[src]

impl<'e, T: Transfer> IntoLisp<'e> for Box<T>
[src]

impl<'e, T> IntoLisp<'e> for RefCell<T>
[src]

impl<'e, T> IntoLisp<'e> for Mutex<T>
[src]

impl<'e, T> IntoLisp<'e> for RwLock<T>
[src]

Implementors