StringProcExt

Trait StringProcExt 

Source
pub trait StringProcExt {
    // Required methods
    fn ident(&self) -> Ident;
    fn ident_span(&self, _: Span) -> Ident;
}
Expand description

This is an extension trait for the following impl:

#[extension(pub trait StringProcExt)]
impl for String

Required Methods§

Source

fn ident(&self) -> Ident

Source

fn ident_span(&self, _: Span) -> Ident

Implementations on Foreign Types§

Source§

impl StringProcExt for String

Source§

fn ident(&self) -> Ident

Source§

fn ident_span(&self, span: Span) -> Ident

Source§

impl<'a> StringProcExt for &'a str

Source§

fn ident(&self) -> Ident

Source§

fn ident_span(&self, span: Span) -> Ident

Implementors§