1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pub struct MultiImplBlockStruct;

impl MultiImplBlockStruct {
    pub fn first_fn() {}
}

impl MultiImplBlockStruct {
    pub fn second_fn(self) -> bool { true }
}

pub trait MultiImplBlockTrait {
    fn first_fn();
    fn second_fn(self) -> u32;
}

impl MultiImplBlockTrait for MultiImplBlockStruct {
    fn first_fn() {}
    fn second_fn(self) -> u32 { 1 }
}