pub trait RawWrapper {
type Raw;
// Required methods
unsafe fn raw(&self) -> &Self::Raw;
unsafe fn raw_mut(&mut self) -> &mut Self::Raw;
}Expand description
Marks a type as a transparent wrapper over a raw type
pub trait RawWrapper {
type Raw;
// Required methods
unsafe fn raw(&self) -> &Self::Raw;
unsafe fn raw_mut(&mut self) -> &mut Self::Raw;
}Marks a type as a transparent wrapper over a raw type