8 pub struct FooConstForMethod;
10 impl Foo for FooConstForMethod {
14 const MY_CONST: u32 = 1;
17 pub struct FooMethodForConst;
19 impl Foo for FooMethodForConst {
26 pub struct FooTypeForMethod;
28 impl Foo for FooTypeForMethod {
33 const MY_CONST: u32 = 1;
36 impl Debug for FooTypeForMethod {