Debian Codegraph @

vendor/pin-project-lite/tests/expand/naming/struct-all.rs

raw
1 // SPDX-License-Identifier: Apache-2.0 OR MIT
2
3 use pin_project_lite::pin_project;
4
5 pin_project! {
6 #[project = StructProj]
7 #[project_ref = StructProjRef]
8 #[project_replace = StructProjReplace]
9 struct Struct<T, U> {
10 #[pin]
11 pinned: T,
12 unpinned: U,
13 }
14 }
15
16 fn main() {}