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