Trait zerocopy::util::polyfills::NonNullExt
source · pub(crate) trait NonNullExt<T> {
// Required method
fn slice_from_raw_parts(data: Self, len: usize) -> NonNull<[T]>;
}
Required Methods§
fn slice_from_raw_parts(data: Self, len: usize) -> NonNull<[T]>
Object Safety§
This trait is not object safe.