[−][src]Module jlrs::value
Julia values and functions.
When using this crate Julia data will usually be returned as a Value
. A Value
is a
"generic" wrapper. Type information will generally be available allowing you to safely convert
a Value
to its actual type. Data like arrays and modules can be returned as a Value
.
These, and other types with a custom implementation in the C API, can be found in the
submodules of this module.
One special property of a Value
is that it can always be called as a function; there's no
way to check if a Value
is actually a function except trying to call it. Multiple
Value
s can be created at the same time by using Values
.
Modules
array | Support for n-dimensional arrays and their dimensions. |
code_instance | Support for values with the |
datatype | Datatypes and properties. |
expr | Support for values with the |
method | Support for values with the |
method_instance | Support for values with the |
method_table | Support for values with the |
module | Access Julia modules and the globals and functions defined in them. |
simple_vector | Support for values with the |
string | Support for accessing raw Julia strings. |
symbol | Symbols represent identifiers like module and function names. |
task | Support for values with the |
tuple | Generic |
type_name | Support for values with the |
type_var | Support for values with the |
typemap_entry | Support for values with the |
typemap_level | Support for values with the |
union | Support for Julia |
union_all | Support for values with the |
weak_ref | Support for values with the |
Structs
Value | When working with the Julia C API most data is returned as a raw pointer to a |
Values | Several values that are allocated consecutively. This can be used in combination with
|
WithKeywords | A function with keyword arguments |
WithOutput | A wrapper that will let you call a |
Constants
MAX_SIZE | In some cases it's necessary to place one or more arguments in front of the arguments a
function is called with. Examples include |
Type Definitions
CallResult | This type alias is used to encode the result of a function call: |