Trait ToIdentWithSuffix

Source
pub trait ToIdentWithSuffix {
    // Required method
    fn to_ident_with_suffix<S: AsRef<str>>(&self, suffix: S) -> Ident;
}

Required Methods§

Source

fn to_ident_with_suffix<S: AsRef<str>>(&self, suffix: S) -> Ident

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ToIdentWithSuffix for (&str, Span)

Source§

fn to_ident_with_suffix<S: AsRef<str>>(&self, suffix: S) -> Ident

Source§

impl ToIdentWithSuffix for (&String, Span)

Source§

fn to_ident_with_suffix<S: AsRef<str>>(&self, suffix: S) -> Ident

Source§

impl ToIdentWithSuffix for (String, Span)

Source§

fn to_ident_with_suffix<S: AsRef<str>>(&self, suffix: S) -> Ident

Source§

impl ToIdentWithSuffix for Ident

Source§

fn to_ident_with_suffix<S: AsRef<str>>(&self, suffix: S) -> Ident

Source§

impl ToIdentWithSuffix for LitStr

Source§

fn to_ident_with_suffix<S: AsRef<str>>(&self, suffix: S) -> Ident

Implementors§