[][src]Trait ocaml::ToValue

pub unsafe trait ToValue {
    fn to_value(self) -> Value;
}

ToValue is used to convert from Rust types to OCaml values

Required methods

fn to_value(self) -> Value

Convert to OCaml value

Loading content...

Implementations on Foreign Types

impl ToValue for i8[src]

impl ToValue for u8[src]

impl ToValue for i16[src]

impl ToValue for u16[src]

impl ToValue for f32[src]

impl ToValue for f64[src]

impl ToValue for i64[src]

impl ToValue for u64[src]

impl ToValue for i32[src]

impl ToValue for u32[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl ToValue for bool[src]

impl ToValue for String[src]

impl ToValue for ()[src]

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

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

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

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

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

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

impl<K: ToValue, V: ToValue> ToValue for BTreeMap<K, V>[src]

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

impl<T: ToValue, E: 'static + Error> ToValue for Result<T, E>[src]

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

Loading content...

Implementors

impl ToValue for Value[src]

impl ToValue for Int[src]

impl ToValue for Uint[src]

impl<'_> ToValue for &'_ Value[src]

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

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

impl<T: 'static + Custom> ToValue for T[src]

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

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

Loading content...