pub fn seq_elem(&mut self) -> Result<Pos, crate::Error> {
        let mut curr = self.inner.current_mut();

        // The current slot must:
        // - be a fresh sequence (with no element) or
        // - be a sequence with a done element

        match curr.0 {
            Slot::SEQ_DONE | Slot::SEQ_ELEM_DONE => {
                curr.0 = Slot::SEQ_ELEM;

                Ok(curr.pos(self.inner.depth()))
            }
            _ => Err(crate::Error::custom(expecting!(*curr, "seq elem"))),
        }
    }
/**
    Begin a sequence element.

    The element will be implicitly completed by the value
    that follows it.
    */
Begin a sequence element.
The element will be implicitly completed by the value
that follows it.
Begin a sequence element . The element will be implicitly completed by the value that follows it .
pub fn seq_elem(&mut self) -> Result<Pos, crate::Error> {
        let mut curr = self.inner.current_mut();
        // The current slot must:
        // - be a fresh sequence (with no element) or
        // - be a sequence with a done element
        match curr.0 {
            Slot::SEQ_DONE | Slot::SEQ_ELEM_DONE => {
                curr.0 = Slot::SEQ_ELEM;
                Ok(curr.pos(self.inner.depth()))
            }
            _ => Err(crate::Error::custom(expecting!(*curr, "seq elem"))),
        }
    }
pub fn seq_elem ( & mut self ) -> Result < Pos , crate :: Error > { let mut curr = self . inner . current_mut ( ) ; // The current slot must: // - be a fresh sequence (with no element) or // - be a sequence with a done element match curr . 0 { Slot :: SEQ_DONE | Slot :: SEQ_ELEM_DONE => { curr . 0 = Slot :: SEQ_ELEM ; Ok ( curr . pos ( self . inner . depth ( ) ) ) } _ => Err ( crate :: Error :: custom ( expecting ! ( curr " " ) ) ) , } }
Begin a sequence element.
Begin a sequence element .
&mut self