fn take_setup(&mut self) -> Setup {
        let mut setup = Setup::FailedInit;
        std::mem::swap(&mut self.setup, &mut setup);
        setup
    }
/// Remove `self.setup`, temporarily replacing it with an invalid state.
Remove `self.setup`, temporarily replacing it with an invalid state.
Remove ` self . setup ` temporarily replacing it with an invalid state .
fn take_setup(&mut self) -> Setup {
        let mut setup = Setup::FailedInit;
        std::mem::swap(&mut self.setup, &mut setup);
        setup
    }
fn take_setup ( & mut self ) -> Setup { let mut setup = Setup :: FailedInit ; std :: mem :: swap ( & mut self . setup , & mut setup ) ; setup }
Remove `self.setup`, temporarily replacing it with an invalid state.
Remove ` self . setup ` temporarily replacing it with an invalid state .
&mut self