[−][src]Module jlrs::traits
All traits used by this crate.
Most of these traits are intended for internal use only and you should never manually
implement them for your own types nor call any of their trait methods. The three major
exceptions to this rule are Frame
, JuliaTuple
and JuliaStruct
.
The first of these three traits is implemented by the two frame types that can be used,
StaticFrame
and DynamicFrame
, and provides the common functionality they offer. The
other two traits can be derived in order to be able to create Julia tuples and structs from
Rust with Value::new
and convert them back to Rust with Value::cast
. See the
documentation for those traits for more information and requirements.
Another important trait is JuliaTypecheck
. Types that implement this trait can be used in
combination with Value::is
and DataType::is
in order to check a value's properties.
Most of the structs that implement this trait are not included in the prelude.
Traits
Cast | This trait is implemented by types that a |
Frame | Functionality shared by |
IntoJulia | Trait implemented by types that can be converted to a Julia value in combination with
|
JuliaStruct | In order to be able to create Julia structs from Rust and convert a |
JuliaTuple | In order to be able to create Julia tuples from Rust and convert a |
JuliaType | Trait implemented by types that have an associated type in Julia. |
JuliaTypecheck | This trait is used in combination with |
TemporarySymbol | Trait implemented by types that can be converted to a temporary |