use super::Pointer;
use core::ptr::NonNull;
const impl<Type> From<NonNull<Type>> for Pointer<Type> {
fn from(value: NonNull<Type>) -> Self {return Self {
to: Some(value)
}}
}
const impl<Type> From<Option<NonNull<Type>>> for Pointer<Type> {
fn from(value: Option<NonNull<Type>>) -> Self {return Self {
to: value
}}
}