Searched refs:StructPinned (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/pin-project-lite/tests/ |
D | drop_order.rs | 23 struct StructPinned<'a> { 45 StructPinned { 63 let _x = StructPinned { f1: D(&c, 1), f2: D(&c, 2) }; in struct_pinned() 67 let mut x = StructPinned { f1: D(&c, 1), f2: D(&c, 2) }; in struct_pinned() 69 let _z = y.project_replace(StructPinned { f1: D(&c, 3), f2: D(&c, 4) }); in struct_pinned() 91 let _x = Enum::StructPinned { f1: D(&c, 1), f2: D(&c, 2) }; in enum_struct() 95 let mut x = Enum::StructPinned { f1: D(&c, 1), f2: D(&c, 2) }; in enum_struct() 97 let _z = y.project_replace(Enum::StructPinned { f1: D(&c, 3), f2: D(&c, 4) }); in enum_struct()
|
/external/rust/crates/pin-project/tests/ |
D | drop_order.rs | 21 struct StructPinned<'a> { struct 43 StructPinned { argument 62 let _x = StructPinned { f1: D(&c, 1), f2: D(&c, 2) }; in struct_pinned() 66 let mut x = StructPinned { f1: D(&c, 1), f2: D(&c, 2) }; in struct_pinned() 68 let _z = y.project_replace(StructPinned { f1: D(&c, 3), f2: D(&c, 4) }); in struct_pinned() 118 let _x = Enum::StructPinned { f1: D(&c, 1), f2: D(&c, 2) }; in enum_struct() 122 let mut x = Enum::StructPinned { f1: D(&c, 1), f2: D(&c, 2) }; in enum_struct() 124 let _z = y.project_replace(Enum::StructPinned { f1: D(&c, 3), f2: D(&c, 4) }); in enum_struct()
|