unique-pointer 0.5.0

Provides the `UniquePointer` data structure 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
10
use std::fmt::Debug;
use std::hash::Hash;

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