pub enum Value {
Null,
Boolean(bool),
I32(i32),
I64(i64),
LargeInt,
F64(f64),
String(String),
U8List(Vec<u8>),
I32List(Vec<i32>),
I64List(Vec<i64>),
F64List(Vec<f64>),
List(Vec<Value>),
Map(HashMap<Value, Value>),
}
This is required, because HashMap need it.
This implementation use mem location for comparision
It does not matter, since it's only used as data holder
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Feeds this value into the given [Hasher
]. Read more
Feeds a slice of this type into the given [Hasher
]. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static