Trait quote_use::IdentFragment
source · pub trait IdentFragment {
// Required method
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>;
// Provided method
fn span(&self) -> Option<Span> { ... }
}
Expand description
Specialized formatting trait used by format_ident!
.
Ident
arguments formatted using this trait will have their r#
prefix
stripped, if present.
See format_ident!
for more information.