Home
last modified time | relevance | path

Searched defs:SomeStruct (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/rust/rust/tests/rustdoc/
Dsidebar-link-generation.rs5 pub struct SomeStruct<T> { _inner: T } argument
7 impl SomeStruct<()> { implementation
11 impl SomeStruct<usize> { implementation
Dassoc-consts-version.rs8 pub struct SomeStruct; struct
10 impl SomeStruct { impl
Dtraits-in-bodies-private.rs8 pub struct SomeStruct; struct
12 impl HiddenTrait for SomeStruct {} in __implementation_details() implementation
Duseless_lifetime_bound.rs11 pub struct SomeStruct<'a, T: 'a> { struct
12 _marker: PhantomData<&'a T>,
/third_party/rust/rust/tests/ui/object-lifetime/
Dobject-lifetime-default-default-to-static.rs13 struct SomeStruct { struct
18 fn a(t: Box<dyn Test>, mut ss: SomeStruct) { in a()
22 fn b(t: Box<dyn Test+'static>, mut ss: SomeStruct) { in b()
26 fn c(t: Box<dyn Test>, mut ss: SomeStruct) { in c()
30 fn d(t: Box<dyn Test+'static>, mut ss: SomeStruct) { in d()
Dobject-lifetime-default-from-box-error.rs10 struct SomeStruct<'a> { struct
14 fn load(ss: &mut SomeStruct) -> Box<dyn SomeTrait> { in load() argument
23 fn store(ss: &mut SomeStruct, b: Box<dyn SomeTrait>) { in store()
30 fn store1<'b>(ss: &mut SomeStruct, b: Box<dyn SomeTrait+'b>) { in store1()
Dobject-lifetime-default-from-rptr-struct-error.rs10 struct SomeStruct<'a> { struct
19 fn c<'a>(t: &'a MyBox<dyn Test+'a>, mut ss: SomeStruct<'a>) { in c() argument
Dobject-lifetime-default-from-rptr-box.rs13 struct SomeStruct<'a> { struct
18 fn a<'a>(t: &'a Box<dyn Test>, mut ss: SomeStruct<'a>) { in a() argument
Dobject-lifetime-default-from-rptr-mut.rs13 struct SomeStruct<'a> { struct
18 fn a<'a>(t: &'a mut dyn Test, mut ss: SomeStruct<'a>) { in a() argument
Dobject-lifetime-default-from-rptr-struct.rs13 struct SomeStruct<'a> { struct
22 fn a<'a>(t: &'a MyBox<dyn Test>, mut ss: SomeStruct<'a>) { in a() argument
/third_party/rust/rust/tests/ui/nll/
Dcapture-ref-in-struct.rs4 struct SomeStruct<'a, 'b: 'a> { struct
16 let closure = SomeStruct { in test() argument
28 impl<'a, 'b> SomeStruct<'a, 'b> { impl
/third_party/rust/rust/tests/rustdoc-ui/coverage/
Dbasic.rs11 pub struct SomeStruct { struct
16 impl SomeStruct { impl
Dprivate.rs14 pub struct SomeStruct { struct
16 pub field: usize,
17 other: usize,
Dstatics-consts.rs18 pub struct SomeStruct; struct
20 impl SomeStruct { impl
/third_party/rust/rust/tests/rustdoc/notable-trait/
Ddoc-notable_trait.rs21 pub struct SomeStruct; struct
22 impl SomeTrait for SomeStruct {} implementation
24 impl SomeStruct { impl
/third_party/rust/rust/tests/ui/traits/
Dsafety-inherent-impl.rs3 struct SomeStruct; struct
5 unsafe impl SomeStruct { //~ ERROR inherent impls cannot be unsafe implementation
/third_party/rust/rust/tests/rustdoc/inline_local/
Dtrait-vis.rs6 pub struct SomeStruct; struct
8 impl ThisTrait for SomeStruct {} implementation
12 impl PrivateTrait for SomeStruct {} implementation
/third_party/rust/rust/tests/rustdoc/inline_cross/auxiliary/
Dimplementors_inline.rs12 pub struct SomeStruct; struct
14 impl my_trait::MyTrait for SomeStruct { implementation
15 fn my_fn(&self) -> SomeStruct { in my_fn()
/third_party/rust/rust/tests/debuginfo/
Dborrowed-struct.rs69 struct SomeStruct { struct
75 let stack_val: SomeStruct = SomeStruct { x: 10, y: 23.5 }; in main() argument
/third_party/rust/rust/src/tools/rustfmt/tests/source/
Dissue_4943.rs1 impl SomeStruct { impl
/third_party/rust/rust/src/tools/rustfmt/tests/target/
Dissue_4943.rs1 impl SomeStruct { implementation
/third_party/rust/rust/tests/ui/issues/
Dissue-73112.rs9 struct SomeStruct { in main() struct
11 page_table: PageTable, in main()
/third_party/rust/rust/tests/rustdoc/intra-doc/cross-crate/
Dtraits.rs8 pub struct SomeStruct; struct
11 impl SomeTrait for SomeStruct { implementation
/third_party/rust/rust/tests/ui/higher-ranked/trait-bounds/
Dhrtb-type-outlives.rs19 struct SomeStruct<X> { struct
23 impl<'a,X> Foo<&'a isize> for SomeStruct<X> implementation
/third_party/rust/rust/tests/ui/nll/user-annotations/
Ddump-adt-brace-struct.rs9 struct SomeStruct<T> { t: T } struct

1234