pub fn map_key(&mut self) -> Result<Pos, crate::Error> {
        const MASK: u8 = Slot::MASK_SLOT;
        const VALID: u8 = Slot::NEEDS_MAP_KEY | Slot::NEEDS_MAP_VALUE;
        const EXPECT: RawStack = (Slot::NEEDS_MAP_KEY | Slot::NEEDS_ITEM) as RawStack;

        if self.inner as u8 & MASK == VALID {
            self.inner ^= EXPECT;

            Ok(Pos(self.inner, self.depth))
        } else {
            Err(crate::Error::custom(&"a map key"))
        }
    }
/**
    Begin a map key.

    The key will be implicitly completed by the value
    that follows it.
    */
Begin a map key.
The key will be implicitly completed by the value
that follows it.
Begin a map key . The key will be implicitly completed by the value that follows it .
pub fn map_key(&mut self) -> Result<Pos, crate::Error> {
        const MASK: u8 = Slot::MASK_SLOT;
        const VALID: u8 = Slot::NEEDS_MAP_KEY | Slot::NEEDS_MAP_VALUE;
        const EXPECT: RawStack = (Slot::NEEDS_MAP_KEY | Slot::NEEDS_ITEM) as RawStack;
        if self.inner as u8 & MASK == VALID {
            self.inner ^= EXPECT;
            Ok(Pos(self.inner, self.depth))
        } else {
            Err(crate::Error::custom(&"a map key"))
        }
    }
pub fn map_key ( & mut self ) -> Result < Pos , crate :: Error > { const MASK : u8 = Slot :: MASK_SLOT ; const VALID : u8 = Slot :: NEEDS_MAP_KEY | Slot :: NEEDS_MAP_VALUE ; const EXPECT : RawStack = ( Slot :: NEEDS_MAP_KEY | Slot :: NEEDS_ITEM ) as RawStack ; if self . inner as u8 & MASK == VALID { self . inner ^= EXPECT ; Ok ( Pos ( self . inner , self . depth ) ) } else { Err ( crate :: Error :: custom ( & " " ) ) } }
Begin a map key.
Begin a map key .
&mut self