petgraph::algo

Trait FloatMeasure

source
pub trait FloatMeasure: Measure + Copy {
    // Required methods
    fn zero() -> Self;
    fn infinite() -> Self;
}
Expand description

A floating-point measure.

Required Methods§

source

fn zero() -> Self

source

fn infinite() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FloatMeasure for f32

source§

fn zero() -> Self

source§

fn infinite() -> Self

source§

impl FloatMeasure for f64

source§

fn zero() -> Self

source§

fn infinite() -> Self

Implementors§