[][src]Trait ocaml::FromValue

pub unsafe trait FromValue {
    fn from_value(v: Value) -> Self;
}

FromValue is used to convert from OCaml values to Rust types

Required methods

fn from_value(v: Value) -> Self

Convert from OCaml value

Loading content...

Implementations on Foreign Types

impl FromValue for i8[src]

impl FromValue for u8[src]

impl FromValue for i16[src]

impl FromValue for u16[src]

impl FromValue for f32[src]

impl FromValue for f64[src]

impl FromValue for i64[src]

impl FromValue for u64[src]

impl FromValue for i32[src]

impl FromValue for u32[src]

impl<A: FromValue> FromValue for (A,)[src]

impl<A: FromValue, B: FromValue> FromValue for (A, B)[src]

impl<A: FromValue, B: FromValue, C: FromValue> FromValue for (A, B, C)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue> FromValue for (A, B, C, D)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue> FromValue for (A, B, C, D, E)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue> FromValue for (A, B, C, D, E, F)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue> FromValue for (A, B, C, D, E, F, G)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue> FromValue for (A, B, C, D, E, F, G, H)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue> FromValue for (A, B, C, D, E, F, G, H, I)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue, L: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K, L)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue, L: FromValue, M: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K, L, M)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue, L: FromValue, M: FromValue, N: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue, L: FromValue, M: FromValue, N: FromValue, O: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue, L: FromValue, M: FromValue, N: FromValue, O: FromValue, P: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue, L: FromValue, M: FromValue, N: FromValue, O: FromValue, P: FromValue, Q: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue, L: FromValue, M: FromValue, N: FromValue, O: FromValue, P: FromValue, Q: FromValue, R: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue, L: FromValue, M: FromValue, N: FromValue, O: FromValue, P: FromValue, Q: FromValue, R: FromValue, S: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue, L: FromValue, M: FromValue, N: FromValue, O: FromValue, P: FromValue, Q: FromValue, R: FromValue, S: FromValue, T: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)[src]

impl<A: FromValue, B: FromValue, C: FromValue, D: FromValue, E: FromValue, F: FromValue, G: FromValue, H: FromValue, I: FromValue, J: FromValue, K: FromValue, L: FromValue, M: FromValue, N: FromValue, O: FromValue, P: FromValue, Q: FromValue, R: FromValue, S: FromValue, T: FromValue, U: FromValue> FromValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)[src]

impl FromValue for bool[src]

impl FromValue for String[src]

impl<T: FromValue> FromValue for Option<T>[src]

impl<'_> FromValue for &'_ str[src]

impl<'_> FromValue for &'_ mut str[src]

impl<'_> FromValue for &'_ [u8][src]

impl<'_> FromValue for &'_ mut [u8][src]

impl<V: FromValue> FromValue for Vec<V>[src]

impl<'a> FromValue for &'a [Value][src]

impl<'a> FromValue for &'a mut [Value][src]

impl<K: Ord + FromValue, V: FromValue> FromValue for BTreeMap<K, V>[src]

impl<T: FromValue> FromValue for LinkedList<T>[src]

impl<T: FromValue> FromValue for Result<T, Error>[src]

Loading content...

Implementors

impl FromValue for Value[src]

impl FromValue for Int[src]

impl FromValue for Uint[src]

impl<T> FromValue for Array1<T>[src]

impl<T> FromValue for Pointer<T>[src]

impl<T: ToValue + FromValue> FromValue for Array<T>[src]

impl<T: ToValue + FromValue> FromValue for List<T>[src]

Loading content...