pub fn can_end(&self) -> bool {
        // In order to end the stream, the stack must be completed
        const MASK: u8 = !Slot::NEEDS_ITEM;
        const VALID: u8 = Slot::IS_EMPTY;

        self.depth == 0 && self.inner as u8 & MASK == VALID
    }
/**
    Whether or not the stack has seen a complete and valid stream.
    */
Whether or not the stack has seen a complete and valid stream.
Whether or not the stack has seen a complete and valid stream .
pub fn can_end(&self) -> bool {
        // In order to end the stream, the stack must be completed
        const MASK: u8 = !Slot::NEEDS_ITEM;
        const VALID: u8 = Slot::IS_EMPTY;
        self.depth == 0 && self.inner as u8 & MASK == VALID
    }
pub fn can_end ( & self ) -> bool { // In order to end the stream, the stack must be completed const MASK : u8 = ! Slot :: NEEDS_ITEM ; const VALID : u8 = Slot :: IS_EMPTY ; self . depth == 0 && self . inner as u8 & MASK == VALID }
Whether or not the stack has seen a complete and valid stream.
Whether or not the stack has seen a complete and valid stream .
&self