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
func: fn(_: B) -> O
The stored function f(x) = ???
lower: B
The lower bound of the function.
higher: B
The higher bound of the function.