Skip to main content

RawWrapper

Trait RawWrapper 

Source
pub unsafe trait RawWrapper {
    type Target;

    // Required method
    unsafe fn raw(&self) -> *mut Self::Target;
}

Required Associated Types§

Required Methods§

Source

unsafe fn raw(&self) -> *mut Self::Target

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§