Skip to main content

Numeric

Type Alias Numeric 

Source
pub type Numeric = SNumber;

Aliased Type§

pub enum Numeric {
    Int(i64),
    Float(f64),
}

Variants§

§

Int(i64)

§

Float(f64)

Trait Implementations§

Source§

impl<'a> Sum<&'a RuntimeValue> for Numeric

Source§

fn sum<I: Iterator<Item = &'a RuntimeValue>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.