Home
last modified time | relevance | path

Searched refs:ZeroableOption (Results 1 – 3 of 3) sorted by relevance

/linux/rust/pin-init/src/
H A Dlib.rs1633 pub unsafe trait ZeroableOption {} trait
1636 unsafe impl<T: ZeroableOption> Zeroable for Option<T> {}
1640 unsafe impl<T> ZeroableOption for &T {} impl
1643 unsafe impl<T> ZeroableOption for &mut T {} impl
1646 unsafe impl<T> ZeroableOption for NonNull<T> {}
1763 unsafe impl<$ret, $($rest),*> ZeroableOption for $($prefix)* fn($($rest),*) -> $ret {} impl
H A Dalloc.rs15 init_from_closure, pin_init_from_closure, InPlaceWrite, Init, PinInit, ZeroableOption,
22 unsafe impl<T> ZeroableOption for Box<T> {}
/linux/rust/kernel/alloc/
H A Dkbox.rs23 use pin_init::{InPlaceWrite, Init, PinInit, ZeroableOption};
146 unsafe impl<T, A: Allocator> ZeroableOption for Box<T, A> {}