1 2 3 4 5 6 7 8 9 10 11
use crate::{prelude::*, traits::datex_hash::DatexHash}; use core::hash::Hasher; impl<T> DatexHash for Box<T> where T: DatexHash + ?Sized, { fn datex_hash(&self, mut state: &mut dyn Hasher) { (**self).datex_hash(&mut state); } }