unique-pointer 0.0.0

Provides an experimental data structure `UniquePointer` that makes extensive use of `unsafe` rust to provide a shared pointer across other data structures.
Documentation
1
2
3
4
5
6
7
8
9
use std::fmt::Debug;

/// The `UniquePointee` serves as a contract of sorts to ensure that
/// types used in [`UniquePointer`] implement Debug, because of it
/// being considered experimental.
pub trait UniquePointee:  Debug {}
impl<T:  Debug> UniquePointee for T {}
// pub trait UniquePointee: Sized + Debug {}
// impl<T: Sized + Debug> UniquePointee for T {}