diff --git a/src/flow/binary/bound.rs b/src/flow/binary/bound.rs index 5c67957..829b691 100644 --- a/src/flow/binary/bound.rs +++ b/src/flow/binary/bound.rs @@ -17,6 +17,12 @@ impl std::ops::Deref for Bound { } } +impl AsRef for Bound { + fn as_ref(&self) -> &T { + &self.bound + } +} + pub struct BoundNode { boundsl: Bounds, boundsr: Bounds,