Trait IntoRust

Source
pub trait IntoRust<T, C, L> {
    // Required method
    fn into_rust(self, context: &C) -> Result<T>;
}

Required Methods§

Source

fn into_rust(self, context: &C) -> Result<T>

Implementations on Foreign Types§

Source§

impl<R, B, C, L> IntoRust<Option<R>, C, L> for Option<B>
where B: IntoRust<R, C, L>,

Source§

fn into_rust(self, context: &C) -> Result<Option<R>>

Source§

impl<R, B, C, L> IntoRust<Vec<R>, C, L> for Vec<B>
where B: IntoRust<R, C, L>,

Source§

fn into_rust(self, context: &C) -> Result<Vec<R>>

Source§

impl<T, L> IntoRust<bool, T, L> for bool

Source§

fn into_rust(self, _context: &T) -> Result<bool>

Source§

impl<T, L> IntoRust<i8, T, L> for i8

Source§

fn into_rust(self, _context: &T) -> Result<i8>

Source§

impl<T, L> IntoRust<i16, T, L> for i16

Source§

fn into_rust(self, _context: &T) -> Result<i16>

Source§

impl<T, L> IntoRust<i32, T, L> for i32

Source§

fn into_rust(self, _context: &T) -> Result<i32>

Source§

impl<T, L> IntoRust<u8, T, L> for u8

Source§

fn into_rust(self, _context: &T) -> Result<u8>

Source§

impl<T, L> IntoRust<u16, T, L> for u16

Source§

fn into_rust(self, _context: &T) -> Result<u16>

Source§

impl<T, L> IntoRust<u32, T, L> for u32

Source§

fn into_rust(self, _context: &T) -> Result<u32>

Source§

impl<T, L> IntoRust<String, T, L> for String

Source§

fn into_rust(self, _context: &T) -> Result<String>

Implementors§