Searched refs:InitClosure (Results 1 – 2 of 2) sorted by relevance
| /linux/rust/pin-init/src/ |
| H A D | __internal.rs | 23 pub(crate) struct InitClosure<F, T: ?Sized, E>(pub(crate) F, pub(crate) Invariant<(E, T)>); global() struct 27 unsafe impl<T: ?Sized, F, E> Init<T, E> for InitClosure<F, T, E> global() implementation 39 unsafe impl<T: ?Sized, F, E> PinInit<T, E> for InitClosure<F, T, E> global() implementation
|
| H A D | lib.rs | 1110 struct InitClosure<F, T: ?Sized>(F, __internal::PhantomInvariant<T>); struct 1115 unsafe impl<T: ?Sized, F, E> Init<T, E> for InitClosure<F, T> where implementation 1122 unsafe impl<T: ?Sized, F, E> PinInit<T, E> for InitClosure<F, T> implementation 1148 InitClosure(f, __internal::PhantomInvariant::new()) in pin_init_from_closure() 1167 InitClosure(f, __internal::PhantomInvariant::new()) in init_from_closure()
|