pub fn literal(mut self) -> Option<(Cursor<'a>, Span, Literal)> {
        self.ignore_none();
        match *self.entry() {
            Entry::Literal(span, ref lit) => {
                Some((
                    unsafe { self.bump() },
                    span,
                    lit.clone(),
                ))
            }
            _ => None
        }
    }
/// If the cursor is pointing at a Literal, return it and a cursor pointing
/// at the next `TokenTree`.
If the cursor is pointing at a Literal, return it and a cursor pointing
at the next `TokenTree`.
If the cursor is pointing at a Literal return it and a cursor pointing at the next ` TokenTree ` .
pub fn literal(mut self) -> Option<(Cursor<'a>, Span, Literal)> {
        self.ignore_none();
        match *self.entry() {
            Entry::Literal(span, ref lit) => {
                Some((
                    unsafe { self.bump() },
                    span,
                    lit.clone(),
                ))
            }
            _ => None
        }
    }
pub fn literal ( mut self ) -> Option < ( Cursor < ' a > , Span , Literal ) > { self . ignore_none ( ) ; match * self . entry ( ) { Entry :: Literal ( span , ref lit ) => { Some ( ( unsafe { self . bump ( ) } , span , lit . clone ( ) , ) ) } _ => None } }
If the cursor is pointing at a Literal, return it and a cursor pointing
at the next `TokenTree`.
If the cursor is pointing at a Literal return it and a cursor pointing at the next ` TokenTree ` .
mut self
mut self