[][src]Trait emacs::FromLisp

pub trait FromLisp<'e>: Sized {
    fn from_lisp(value: Value<'e>) -> Result<Self>;
}

Converting Lisp Value into a Rust type.

Implementation

The lifetime parameter is put on the trait itself, instead of the method. This allows it to be implemented for Value itself.

Required methods

fn from_lisp(value: Value<'e>) -> Result<Self>

Loading content...

Implementations on Foreign Types

impl<'_> FromLisp<'_> for i64[src]

impl<'_> FromLisp<'_> for i8[src]

impl<'_> FromLisp<'_> for i16[src]

impl<'_> FromLisp<'_> for i32[src]

impl<'_> FromLisp<'_> for isize[src]

impl<'_> FromLisp<'_> for u8[src]

impl<'_> FromLisp<'_> for u16[src]

impl<'_> FromLisp<'_> for u32[src]

impl<'_> FromLisp<'_> for u64[src]

impl<'_> FromLisp<'_> for usize[src]

impl<'_> FromLisp<'_> for f64[src]

impl<'_> FromLisp<'_> for String[src]

impl<'a, 'e: 'a, T: Transfer> FromLisp<'e> for &'a T[src]

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

Loading content...

Implementors

impl<'a, 'e: 'a> FromLisp<'e> for Value<'a>[src]

impl<'a, 'e: 'a> FromLisp<'e> for Vector<'a>[src]

Loading content...