Trait ra_ap_syntax::ast::HasFormatSpecifier[][src]

pub trait HasFormatSpecifier: AstToken {
    fn char_ranges(&self) -> Option<Vec<(TextRange, Result<char, EscapeError>)>>;

    fn lex_format_specifier<F>(&self, callback: F)
    where
        F: FnMut(TextRange, FormatSpecifier)
, { ... } }

Required methods

Provided methods

Implementors