pub type Numeric = SNumber;Aliased Type§
pub enum Numeric {
Int(i64),
Float(f64),
}Variants§
Trait Implementations§
Source§impl<'a> Sum<&'a RuntimeValue> for Numeric
impl<'a> Sum<&'a RuntimeValue> for Numeric
Source§fn sum<I: Iterator<Item = &'a RuntimeValue>>(iter: I) -> Self
fn sum<I: Iterator<Item = &'a RuntimeValue>>(iter: I) -> Self
Takes an iterator and generates
Self from the elements by “summing up”
the items.