use super::Cage;
use core::hash::{
Hash,
Hasher
};
impl<Type: Clone + ?Sized> Clone for Cage<Type> {
fn clone(&self) -> Self {return Self::new(self.read().clone())}
}
impl<Type: Hash + ?Sized> Hash for Cage<Type> {
fn hash<H: Hasher>(&self, state: &mut H) {return self.read().hash(state)}
}