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

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

Loading content...

Provided methods

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

Loading content...

Implementors

impl HasFormatSpecifier for RawString[src]

impl HasFormatSpecifier for String[src]

Loading content...