[][src]Trait proc_macro_roids::IdentExt

pub trait IdentExt {
    fn append<S>(&self, suffix: S) -> Ident
    where
        S: Display
;
fn prepend<S>(&self, prefix: S) -> Ident
    where
        S: Display
; }

Convenience methods on Idents.

Required methods

fn append<S>(&self, suffix: S) -> Ident where
    S: Display

Returns a new Ident by appending this Ident and the specified suffix.

Parameters

  • suffix: Suffix to append.

fn prepend<S>(&self, prefix: S) -> Ident where
    S: Display

Returns a new Ident by prepending this Ident with the specified prefix.

Parameters

  • prefix: Prefix to prepend.
Loading content...

Implementations on Foreign Types

impl IdentExt for Ident[src]

Loading content...

Implementors

Loading content...