Enum rs_es::query::functions::Scale [] [src]

pub enum Scale {
    I64(i64),
    U64(u64),
    F64(f64),
    Distance(Distance),
    Duration(Duration),
}

Scale used by decay function

Variants

Trait Implementations

impl Debug for Scale
[src]

Formats the value using the given formatter.

impl Default for Scale
[src]

Returns the "default value" for a type. Read more

impl From<i64> for Scale
[src]

Performs the conversion.

impl From<u64> for Scale
[src]

Performs the conversion.

impl From<f64> for Scale
[src]

Performs the conversion.

impl From<Distance> for Scale
[src]

Performs the conversion.

impl From<Duration> for Scale
[src]

Performs the conversion.

impl Serialize for Scale
[src]

Serializes this value into this serializer.