#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] pub(crate) struct Unsafe(T); impl core::fmt::Debug for Unsafe { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { self.0.fmt(f) } } impl Unsafe { pub(crate) const unsafe fn new(value: T) -> Self { Self(value) } pub(crate) const fn get(&self) -> &T { &self.0 } } impl core::ops::Deref for Unsafe { type Target = T; fn deref(&self) -> &Self::Target { &self.0 } }