unique_pointer/
traits.rs

1use std::fmt::Debug;
2
3/// The `UniquePointee` trait serves as a contract of sorts to ensure
4/// that types used in [`unique_pointer::UniquePointer`] implement
5/// Debug, because of it 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 {}