Lines Matching refs:impl
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>`]:
136 impl DriverData {
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
193 impl RawFoo {
194 pub fn new(flags: u32) -> impl PinInit<Self, i32> {
224 impl PinnedDrop for RawFoo {
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
241 [`impl Init<T, E>`]: https://docs.rs/pin-init/latest/pin_init/trait.Init.html