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§

source

fn slice_from_raw_parts(data: Self, len: usize) -> NonNull<[T]>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> NonNullExt<T> for NonNull<T>

Implementors§