Module jlrs::convert::into_julia[][src]

Expand description

Convert simple data from Rust to Julia.

In order to use data from Rust in Julia, it must first be converted to a Value. The easiest way to do this is by using Value::new, which is compatible with types that implement the IntoJulia trait defined in this module. This trait only supports bits-types with no type parameters, and should not be implemented manually. Rather, you should use JlrsReflect.jl to automatically derive it for compatible types.

Traits

Trait implemented by types that can be converted to a Julia value in combination with Value::new. This trait can be derived, it’s recommended to use JlrsReflect.jl to ensure it’s implemented correctly.