Expand description
Trait implemented by all types that can be converted into Value
s and may require an engine
to do so.
For performing the conversion, see Value::new
and
Engine::create_value
.
Required Associated Types§
Implementations on Foreign Types§
source§impl IntoValue for ()
impl IntoValue for ()
The unit type translates to Value::Nil
.
type EngineUse = DoesNotUseEngine
source§impl IntoValue for i64
impl IntoValue for i64
NOTE: This is a lossy conversion, as an f64
cannot represent the entire range of an i64
.
type EngineUse = DoesNotUseEngine
source§impl IntoValue for isize
impl IntoValue for isize
NOTE: This is a lossy conversion, as an f64
cannot represent the entire range of an isize
.
type EngineUse = DoesNotUseEngine
source§impl IntoValue for u64
impl IntoValue for u64
NOTE: This is a lossy conversion, as an f64
cannot represent the entire range of a u64
.
type EngineUse = DoesNotUseEngine
source§impl IntoValue for usize
impl IntoValue for usize
NOTE: This is a lossy conversion, as an f64
cannot represent the entire range of a usize
.