Lines Matching refs:PinInit
86 If you want to use [`PinInit`], then you will have to annotate your `struct` with
108 `foo` now is of the type [`impl PinInit<Foo>`]. We can now use any smart pointer that we like
126 To declare an init macro/function you just return an [`impl PinInit<T, E>`]:
137 fn new() -> impl PinInit<Self, Error> {
150 [`impl PinInit<T, E>`] directly from a closure. Of course you have to ensure that the closure
161 use pin_init::{pin_data, pinned_drop, PinInit, PinnedDrop, pin_init_from_closure};
194 pub fn new(flags: u32) -> impl PinInit<Self, i32> {
239 [`impl PinInit<Foo>`]: https://docs.rs/pin-init/latest/pin_init/trait.PinInit.html
240 [`impl PinInit<T, E>`]: https://docs.rs/pin-init/latest/pin_init/trait.PinInit.html