Trait quote::IdentFragment [−][src]
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.
Required methods
Loading content...Provided methods
fn span(&self) -> Option<Span>
[src]
Span associated with this IdentFragment
.
If non-None
, may be inherited by formatted identifiers.
Implementations on Foreign Types
impl<T: IdentFragment + ?Sized> IdentFragment for &T
[src]
impl<T: IdentFragment + ?Sized> IdentFragment for &mut T
[src]
impl IdentFragment for Ident
[src]
impl<T: ?Sized> IdentFragment for Cow<'_, T> where
T: IdentFragment + ToOwned,
[src]
T: IdentFragment + ToOwned,