Trait ToIdentWithPrefix

Source
pub trait ToIdentWithPrefix {
    // Required method
    fn to_ident_with_prefix<S: AsRef<str>>(&self, prefix: S) -> Ident;
}

Required Methods§

Source

fn to_ident_with_prefix<S: AsRef<str>>(&self, prefix: 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 ToIdentWithPrefix for (&str, Span)

Source§

fn to_ident_with_prefix<S: AsRef<str>>(&self, prefix: S) -> Ident

Source§

impl ToIdentWithPrefix for (&String, Span)

Source§

fn to_ident_with_prefix<S: AsRef<str>>(&self, prefix: S) -> Ident

Source§

impl ToIdentWithPrefix for (String, Span)

Source§

fn to_ident_with_prefix<S: AsRef<str>>(&self, prefix: S) -> Ident

Source§

impl ToIdentWithPrefix for Ident

Source§

fn to_ident_with_prefix<S: AsRef<str>>(&self, prefix: S) -> Ident

Source§

impl ToIdentWithPrefix for LitStr

Source§

fn to_ident_with_prefix<S: AsRef<str>>(&self, prefix: S) -> Ident

Implementors§