# Trait flechasdb::numbers::Infinity

source ·

    pub trait Infinity {
        // Required method
        fn infinity() -> Self;
    }

Expand description

Represents a number that has positive infinity.

## Required Methods§

source

#### fn infinity() -> Self

Returns positive infinity.

## Implementations on Foreign Types§

source§

### impl Infinity for f64

source§

#### fn infinity() -> f64

source§

### impl Infinity for f32

source§

#### fn infinity() -> f32

## Implementors§