[−][src]Trait quote::ToTokens
Types that can be interpolated inside a quote!
invocation.
Required methods
fn to_tokens(&self, tokens: &mut TokenStream)
[+]
Provided methods
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[+]
Self: Sized,
Implementations on Foreign Types
impl<'a, T: ?Sized + ToTokens> ToTokens for &'a T
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl<'a, T: ?Sized + ToTokens> ToTokens for &'a mut T
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl<'a, T: ?Sized + ToOwned + ToTokens> ToTokens for Cow<'a, T>
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl<T: ?Sized + ToTokens> ToTokens for Box<T>
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl<T: ?Sized + ToTokens> ToTokens for Rc<T>
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl<T: ToTokens> ToTokens for Option<T>
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for str
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for String
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for i8
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for i16
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for i32
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for i64
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for isize
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for u8
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for u16
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for u32
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for u64
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for usize
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for f32
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for f64
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for char
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for bool
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for Group
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for Ident
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for Punct
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for Literal
[src][−]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
impl ToTokens for TokenTree
[src][−]
fn to_tokens(&self, dst: &mut TokenStream)
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,