pub trait SmartPtr: Deref { // Required method fn new(inner: Self::Target) -> Self; }
Trait for general smart pointers.
Creates a new pointer which points to the given target.