Searched refs:ZeroableOption (Results 1 – 3 of 3) sorted by relevance
| /linux/rust/pin-init/src/ |
| H A D | alloc.rs | 15 init_from_closure, pin_init_from_closure, InPlaceWrite, Init, PinInit, ZeroableOption, 22 unsafe impl<T> ZeroableOption for Box<T> {}
|
| H A D | lib.rs | 1691 pub unsafe trait ZeroableOption {} trait 1694 unsafe impl<T: ZeroableOption> Zeroable for Option<T> {} 1707 unsafe impl<$ret, $arg> ZeroableOption for $($prefix)* fn($arg) -> $ret {} impl 1714 unsafe impl<$ret, $($rest),*> ZeroableOption for $($prefix)* fn($($rest),*) -> $ret {} impl 1724 $(unsafe impl$($($generics)*)? ZeroableOption for $t {})*
|
| /linux/rust/kernel/alloc/ |
| H A D | kbox.rs | 46 use pin_init::ZeroableOption; 144 unsafe impl<T, A: Allocator> ZeroableOption for Box<T, A> {}
|