Struct partial_function::BoundedFunction [] [src]

pub struct BoundedFunction<B, O> where
    B: PartialOrd
{ pub func: fn(_: B) -> O, pub lower: B, pub higher: B, }

A regular function that is only defined between lower and higher. If two functions intersect their higher and lower bounds respectively. The second will take precedence where f(lower).

Fields

The stored function f(x) = ???

The lower bound of the function.

The higher bound of the function.