pub enum Bound {
Upper,
Lower,
}Expand description
Which bound of a constraint a distance-graph edge encodes.
Variants§
Upper
The upper bound t_to - t_from <= hi, edge from -> to with weight hi.
Lower
The lower bound t_to - t_from >= lo, edge to -> from with weight -lo.
Trait Implementations§
impl Copy for Bound
impl Eq for Bound
impl StructuralPartialEq for Bound
Auto Trait Implementations§
impl Forget for Bound
impl Freeze for Bound
impl Move for Bound
impl RefUnwindSafe for Bound
impl Send for Bound
impl Sync for Bound
impl Unpin for Bound
impl UnsafeUnpin for Bound
impl UnwindSafe for Bound
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more