Struct rustc_demangle::v0::Parser
source · struct Parser<'s> {
sym: &'s str,
next: usize,
depth: u32,
}
Fields§
§sym: &'s str
§next: usize
§depth: u32
Implementations§
source§impl<'s> Parser<'s>
impl<'s> Parser<'s>
fn push_depth(&mut self) -> Result<(), ParseError>
fn pop_depth(&mut self)
fn peek(&self) -> Option<u8>
fn eat(&mut self, b: u8) -> bool
fn next(&mut self) -> Result<u8, ParseError>
fn hex_nibbles(&mut self) -> Result<HexNibbles<'s>, ParseError>
fn digit_10(&mut self) -> Result<u8, ParseError>
fn digit_62(&mut self) -> Result<u8, ParseError>
fn integer_62(&mut self) -> Result<u64, ParseError>
fn opt_integer_62(&mut self, tag: u8) -> Result<u64, ParseError>
fn disambiguator(&mut self) -> Result<u64, ParseError>
fn namespace(&mut self) -> Result<Option<char>, ParseError>
fn backref(&mut self) -> Result<Parser<'s>, ParseError>
fn ident(&mut self) -> Result<Ident<'s>, ParseError>
Auto Trait Implementations§
impl<'s> RefUnwindSafe for Parser<'s>
impl<'s> Send for Parser<'s>
impl<'s> Sync for Parser<'s>
impl<'s> Unpin for Parser<'s>
impl<'s> UnwindSafe for Parser<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more