[][src]Trait artichoke_backend::Convert

pub trait Convert<T, U> {
    fn convert(&self, from: T) -> U;
}

Infallible conversion between two types.

Implementors may not allocate on the interpreter heap.

See std::convert::From. See ConvertMut.

Required methods

fn convert(&self, from: T) -> U

Performs the infallible conversion.

Loading content...

Implementors

impl Convert<Option<i64>, Value> for Artichoke[src]

impl Convert<Option<Value>, Value> for Artichoke[src]

impl Convert<bool, Value> for Artichoke[src]

impl Convert<i16, Value> for Artichoke[src]

impl Convert<i32, Value> for Artichoke[src]

impl Convert<i64, Value> for Artichoke[src]

impl Convert<i8, Value> for Artichoke[src]

impl Convert<u16, Value> for Artichoke[src]

impl Convert<u32, Value> for Artichoke[src]

impl Convert<u8, Value> for Artichoke[src]

impl Convert<Value, Option<Value>> for Artichoke[src]

impl Convert<Value, Value> for Artichoke[src]

Loading content...