1 2 3 4
pub trait AsValueRef<T> { fn as_value_ref(&self) -> &T; fn as_value_mutref(&mut self) -> &mut T; }