diff --git a/crates/indicator/src/window/tick_value.rs b/crates/indicator/src/window/tick_value.rs index 4ed999f..c053f80 100644 --- a/crates/indicator/src/window/tick_value.rs +++ b/crates/indicator/src/window/tick_value.rs @@ -1,3 +1,4 @@ +use core::borrow::Borrow; use core::ops::Deref; use super::tick::Tick; @@ -79,3 +80,9 @@ impl Deref for TickValue { &self.value } } + +impl Borrow for TickValue { + fn borrow(&self) -> &T { + &self.value + } +}