pub enum Value {
Show 33 variants
Int(IntValue),
Num(f64),
Complex(f64, f64),
Bool(bool),
LogicalArray(LogicalArray),
String(String),
StringArray(StringArray),
CharArray(CharArray),
Tensor(Tensor),
SparseTensor(SparseTensor),
ComplexTensor(ComplexTensor),
Symbolic(SymbolicExpr),
SymbolicArray(SymbolicArray),
Cell(CellArray),
Struct(StructValue),
GpuTensor(GpuTensorHandle),
Object(ObjectInstance),
ObjectArray(ObjectArray),
HandleObject(HandleRef),
Listener(Listener),
OutputList(Vec<Value>),
FunctionHandle(String),
ExternalFunctionHandle(String),
MethodFunctionHandle(String),
BoundFunctionHandle {
name: String,
function: usize,
},
Closure(Closure),
ClassRef(String),
MException(MException),
Future(FutureHandle),
Task(TaskHandle),
Pool(PoolHandle),
Job(JobHandle),
Foreign(ForeignRef),
}Variants§
Int(IntValue)
Num(f64)
Complex(f64, f64)
Complex scalar value represented as (re, im)
Bool(bool)
LogicalArray(LogicalArray)
String(String)
StringArray(StringArray)
CharArray(CharArray)
Tensor(Tensor)
SparseTensor(SparseTensor)
Real sparse matrix in compressed sparse column form.
ComplexTensor(ComplexTensor)
Complex numeric array; same column-major shape semantics as Tensor
Symbolic(SymbolicExpr)
Scalar symbolic expression used by sym, syms, and symbolic math builtins.
SymbolicArray(SymbolicArray)
Dense symbolic array with column-major shape semantics.
Cell(CellArray)
Struct(StructValue)
GpuTensor(GpuTensorHandle)
Object(ObjectInstance)
ObjectArray(ObjectArray)
Homogeneous N-D value/handle object array with column-major storage.
HandleObject(HandleRef)
Handle-object wrapper providing identity semantics and validity tracking
Listener(Listener)
Event listener handle for events
OutputList(Vec<Value>)
Multiple outputs captured as a list (internal destructuring helper)
FunctionHandle(String)
ExternalFunctionHandle(String)
MethodFunctionHandle(String)
BoundFunctionHandle
Closure(Closure)
ClassRef(String)
MException(MException)
Future(FutureHandle)
Lazy executable work owned by the active runtime execution service.
Task(TaskHandle)
Scheduled work owned by the active runtime execution service.
Pool(PoolHandle)
Execution pool capability owned by an execution service.
Job(JobHandle)
Durable batch execution capability.
Foreign(ForeignRef)
Opaque resource owned by a foreign runtime host and fenced by generation.