[−][src]Trait artichoke_backend::extn::prelude::Convert
Infallible conversion between two types.
Implementors may not allocate on the interpreter heap.
See core::convert::From
.
See ConvertMut
.
Required methods
Loading content...Implementors
impl Convert<Option<bool>, Value> for Artichoke
[src]
impl Convert<Option<i64>, Value> for Artichoke
[src]
impl Convert<Option<Value>, Value> for Artichoke
[src]
impl Convert<bool, Value> for Artichoke
[src]
impl Convert<i8, Value> for Artichoke
[src]
impl Convert<i16, Value> for Artichoke
[src]
impl Convert<i32, Value> for Artichoke
[src]
impl Convert<i64, Value> for Artichoke
[src]
Converter for Artichoke native integer type.
The Int
type alias must be i64
.
assert_eq!(mem::size_of::<i64>(), mem::size_of::<Int>()); assert_eq!(i64::MIN, Int::MIN); assert_eq!(i64::MAX, Int::MAX); assert_eq!(TypeId::of::<i64>(), TypeId::of::<Int>());