Module interval

Module interval 

Source

Structs§

Interval
The Interval struct represents a range of values with a lower bound (lb) and an upper bound (ub).

Traits§

Enlarge
The above code is defining a trait named Enlarge in Rust. This trait has an associated type Output and a method enlarge_with that takes a reference to self and a parameter alpha of type T. The method returns an object of type Output. This trait can be implemented for types to provide the functionality of enlarging or modifying the object with the provided alpha value.
Hull
The above code is defining a trait named Hull in Rust. This trait has a generic type T that must be sized. It also has an associated type Output. The trait has a method hull_with that takes a reference to another object of type T and returns an object of type Output. This trait can be implemented for different types to provide the hull_with functionality.
Intersect
The above code is defining a trait in Rust called Intersect. This trait has one associated type Output and one method intersect_with that takes a reference to another object of type T and returns an object of type Output. This trait can be implemented for various types to provide custom intersection behavior.