Home
last modified time | relevance | path

Searched refs:EnumProj (Results 1 – 25 of 28) sorted by relevance

12

/external/rust/crates/pin-project-lite/tests/
Dlint.rs60 #[project = EnumProj]
91 #[project = EnumProj]
113 #[project = EnumProj]
138 #[project = EnumProj]
167 #[project = EnumProj]
197 #[project = EnumProj]
227 #[project = EnumProj]
252 #[project = EnumProj]
Dtest.rs62 #[project = EnumProj] in projection()
80 EnumProj::Struct { f1, f2 } => { in projection()
86 EnumProj::Unit => unreachable!(), in projection()
91 if let EnumProj::Struct { f1, f2 } = e.as_mut().project() { in projection()
107 #[project = EnumProj] in enum_project_set()
121 EnumProj::V1 { f } => { in enum_project_set()
125 EnumProj::V2 { .. } => unreachable!(), in enum_project_set()
143 #[project = EnumProj] in where_clause()
192 #[project = EnumProj] in where_clause_and_associated_type_field()
232 #[project = EnumProj] in move_out()
[all …]
Dproper_unpin.rs32 #[project = EnumProj]
/external/rust/crates/pin-project/tests/expand/unsafe_unpin/
Denum.expanded.rs2 # [pin (__private (UnsafeUnpin , project = EnumProj , project_ref = EnumProjRef))]
23 enum EnumProj<'pin, T, U> enum
70 ) -> EnumProj<'pin, T, U> { in project()
73 Self::Struct { pinned, unpinned } => EnumProj::Struct { in project()
78 EnumProj::Tuple(::pin_project::__private::Pin::new_unchecked(_0), _1) in project()
80 Self::Unit => EnumProj::Unit, in project()
Denum.rs3 #[pin_project(UnsafeUnpin, project = EnumProj, project_ref = EnumProjRef)]
/external/rust/crates/pin-project/tests/expand/not_unpin/
Denum.expanded.rs2 # [pin (__private (! Unpin , project = EnumProj , project_ref = EnumProjRef))]
23 enum EnumProj<'pin, T, U> enum
70 ) -> EnumProj<'pin, T, U> { in project()
73 Self::Struct { pinned, unpinned } => EnumProj::Struct { in project()
78 EnumProj::Tuple(::pin_project::__private::Pin::new_unchecked(_0), _1) in project()
80 Self::Unit => EnumProj::Unit, in project()
Denum.rs3 #[pin_project(!Unpin, project = EnumProj, project_ref = EnumProjRef)]
/external/rust/crates/pin-project/tests/
Dpin_project.rs72 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)] in projection()
88 EnumProj::Tuple(x, y) => { in projection()
94 EnumProj::Struct { f1, f2 } => { in projection()
99 EnumProj::Unit => unreachable!(), in projection()
108 EnumProj::Tuple(x, y) => { in projection()
113 EnumProj::Struct { f1, f2 } => { in projection()
119 EnumProj::Unit => unreachable!(), in projection()
122 if let EnumProj::Struct { f1, f2 } = e.as_mut().project() { in projection()
132 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)] in enum_project_set()
144 EnumProj::V1(val) => { in enum_project_set()
[all …]
Dlint.rs488 project = EnumProj,
525 project = EnumProj,
574 project = EnumProj,
631 project = EnumProj,
689 project = EnumProj,
737 project = EnumProj,
818 project = EnumProj,
837 project = EnumProj,
868 project = EnumProj,
902 project = EnumProj,
[all …]
Dproper_unpin.rs31 #[pin_project(project = EnumProj, project_ref = EnumProjRef)]
/external/rust/crates/pin-project/tests/expand/pinned_drop/
Denum.expanded.rs3 # [pin (__private (PinnedDrop , project = EnumProj , project_ref = EnumProjRef))]
24 enum EnumProj<'pin, T, U> enum
71 ) -> EnumProj<'pin, T, U> { in project()
74 Self::Struct { pinned, unpinned } => EnumProj::Struct { in project()
79 EnumProj::Tuple(::pin_project::__private::Pin::new_unchecked(_0), _1) in project()
81 Self::Unit => EnumProj::Unit, in project()
Denum.rs4 #[pin_project(PinnedDrop, project = EnumProj, project_ref = EnumProjRef)]
/external/rust/crates/pin-project/tests/expand/default/
Denum.expanded.rs2 # [pin (__private (project = EnumProj , project_ref = EnumProjRef))]
23 enum EnumProj<'pin, T, U> enum
70 ) -> EnumProj<'pin, T, U> { in project()
73 Self::Struct { pinned, unpinned } => EnumProj::Struct { in project()
78 EnumProj::Tuple(::pin_project::__private::Pin::new_unchecked(_0), _1) in project()
80 Self::Unit => EnumProj::Unit, in project()
Denum.rs3 #[pin_project(project = EnumProj, project_ref = EnumProjRef)]
/external/rust/crates/pin-project/tests/expand/pub/
Denum.expanded.rs2 # [pin (__private (project = EnumProj , project_ref = EnumProjRef))]
23 pub(crate) enum EnumProj<'pin, T, U> enum
70 ) -> EnumProj<'pin, T, U> { in project()
73 Self::Struct { pinned, unpinned } => EnumProj::Struct { in project()
78 EnumProj::Tuple(::pin_project::__private::Pin::new_unchecked(_0), _1) in project()
80 Self::Unit => EnumProj::Unit, in project()
Denum.rs3 #[pin_project(project = EnumProj, project_ref = EnumProjRef)]
/external/rust/crates/pin-project/examples/
Denum-default-expanded.rs28 enum EnumProj<'pin, T, U> enum
45 ) -> EnumProj<'pin, T, U> { in project()
49 EnumProj::Pinned(::pin_project::__private::Pin::new_unchecked(_0)) in project()
51 Self::Unpinned(_0) => EnumProj::Unpinned(_0), in project()
Denum-default.rs7 #[pin_project(project = EnumProj)]
/external/rust/crates/pin-project/tests/expand/multifields/
Denum.expanded.rs2 # [pin (__private (project = EnumProj , project_ref = EnumProjRef , project_replace = EnumProjOwn))]
26 enum EnumProj<'pin, T, U> enum
113 ) -> EnumProj<'pin, T, U> { in project()
121 } => EnumProj::Struct { in project()
127 Self::Tuple(_0, _1, _2, _3) => EnumProj::Tuple( in project()
133 Self::Unit => EnumProj::Unit, in project()
Denum.rs3 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)]
/external/rust/crates/pin-project/
DREADME.md56 #[pin_project(project = EnumProj)]
65 EnumProj::Pinned(x) => {
68 EnumProj::Unpinned(y) => {
DCHANGELOG.md45 + #[pin_project(project = EnumProj)]
55 + EnumProj::Variant(_) => { /* ... */ }
84 + #[pin_project(project = EnumProj)]
94 + EnumProj::Variant(_) => { /* ... */ }
145 #[pin_project(project = EnumProj)]
152 EnumProj::Variant(y) => {
214 #[pin_project(project = EnumProj)]
221 EnumProj::Variant(y) => {
/external/rust/crates/pin-project-lite/src/
Dlib.rs.orig36 //! #[project = EnumProj]
45 //! EnumProj::Variant { pinned, unpinned } => {
138 /// #[project = EnumProj]
146 /// let this: EnumProj<'_, T> = self.project();
148 /// EnumProj::Variant { field } => {
177 /// #[project = EnumProj]
189 /// let this: EnumProj<'_, T> = self.project();
236 /// #[project = EnumProj]
249 /// EnumProj::Struct { field } => {
252 /// EnumProj::Unit => {}
/external/rust/crates/pin-project-lite/
DREADME.md56 #[project = EnumProj]
65 EnumProj::Variant { pinned, unpinned } => {
DCHANGELOG.md40 #[project = EnumProj]
49 EnumProj::Variant { pinned, unpinned } => {

12