unique_pointer/
traits.rs

1use std::fmt::Debug;
2use std::hash::Hash;
3
4/// The [`crate::Pointee`] trait serves as a contract of sorts to ensure
5/// that types used in [`crate::UniquePointer`] implement
6/// Debug, because of it being considered experimental.
7pub trait Pointee:  Debug {}
8impl<T:  Debug> Pointee for T {}
9// pub trait Pointee: Sized + Debug {}
10// impl<T: Sized + Debug> Pointee for T {}