Struct mlua::serde::Deserializer[][src]

pub struct Deserializer<'lua>(_);
This is supported on crate feature serialize only.

A struct for deserializing Lua values into Rust values.

Implementations

impl<'lua> Deserializer<'lua>[src]

pub fn new(value: Value<'lua>) -> Self[src]

Creates a new Lua Deserializer for the Value.

Trait Implementations

impl<'lua> Debug for Deserializer<'lua>[src]

impl<'lua, 'de> Deserializer<'de> for Deserializer<'lua>[src]

type Error = Error

The error type that can be returned if some error occurs during deserialization. Read more

Auto Trait Implementations

impl<'lua> !RefUnwindSafe for Deserializer<'lua>

impl<'lua> !Send for Deserializer<'lua>

impl<'lua> !Sync for Deserializer<'lua>

impl<'lua> Unpin for Deserializer<'lua>

impl<'lua> !UnwindSafe for Deserializer<'lua>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.