1 2 3 4 5 6 7 8 9
//! This is for information hiding. pub(crate) trait ToRaw<T> { fn raw(&self) -> *mut T; } pub(crate) trait FromRaw<T> { unsafe fn from_ll(_: *mut T) -> Self; }