Lines Matching refs:impl
90 `foo` now is of the type [`impl PinInit<Foo>`]. We can now use any smart pointer that we like
108 To declare an init macro/function you just return an [`impl PinInit<T, E>`]:
118 impl DriverData {
119 fn new() -> impl PinInit<Self, Error> {
132 [`impl PinInit<T, E>`] directly from a closure. Of course you have to ensure that the closure
175 impl RawFoo {
176 pub fn new(flags: u32) -> impl PinInit<Self, i32> {
206 impl PinnedDrop for RawFoo {
223 [`impl PinInit<Foo>`]: https://docs.rs/pin-init/latest/pin_init/trait.PinInit.html
224 [`impl PinInit<T, E>`]: https://docs.rs/pin-init/latest/pin_init/trait.PinInit.html
225 [`impl Init<T, E>`]: https://docs.rs/pin-init/latest/pin_init/trait.Init.html