pub fn stack(mut self) -> Stack {
        let generator = self.generator.take().unwrap().into_inner();
        // If the generator didn't finish yet, the stack is going to be unwinded on drop().
        // Fire a last pre_post_poll before this happens.
        if generator.started() && !generator.finished() {
            if let Some(pre_post_poll) = &mut self.pre_post_poll {
                pre_post_poll();
            }
        }
        generator.stack()
    }
/// Get the stack from the internal generator.
Get the stack from the internal generator.
Get the stack from the internal generator .
pub fn stack(mut self) -> Stack {
        let generator = self.generator.take().unwrap().into_inner();
        // If the generator didn't finish yet, the stack is going to be unwinded on drop().
        // Fire a last pre_post_poll before this happens.
        if generator.started() && !generator.finished() {
            if let Some(pre_post_poll) = &mut self.pre_post_poll {
                pre_post_poll();
            }
        }
        generator.stack()
    }
pub fn stack ( mut self ) -> Stack { let generator = self . generator . take ( ) . unwrap ( ) . into_inner ( ) ; // If the generator didn't finish yet, the stack is going to be unwinded on drop(). // Fire a last pre_post_poll before this happens. if generator . started ( ) && ! generator . finished ( ) { if let Some ( pre_post_poll ) = & mut self . pre_post_poll { pre_post_poll ( ) ; } } generator . stack ( ) }
Get the stack from the internal generator.
Get the stack from the internal generator .
mut self
mut self