hir_
expand
0.0.0
ToToken
Tree
Required Methods
to_token
Implementations on Foreign Types
&T
&str
String
Symbol
bool
i32
u32
usize
Implementors
In hir_
expand::
builtin::
quote
hir_expand
::
builtin
::
quote
Trait
ToTokenTree
Copy item path
source
pub trait ToTokenTree { // Required method fn
to_token
(self, span:
Span
) ->
TokenTree
; }
Required Methods
§
source
fn
to_token
(self, span:
Span
) ->
TokenTree
Implementations on Foreign Types
§
source
§
impl
ToTokenTree
for &
str
source
§
fn
to_token
(self, span:
Span
) ->
TokenTree
source
§
impl
ToTokenTree
for
bool
source
§
fn
to_token
(self, span:
Span
) ->
TokenTree
source
§
impl
ToTokenTree
for
i32
source
§
fn
to_token
(self, span:
Span
) ->
TokenTree
source
§
impl
ToTokenTree
for
u32
source
§
fn
to_token
(self, span:
Span
) ->
TokenTree
source
§
impl
ToTokenTree
for
usize
source
§
fn
to_token
(self, span:
Span
) ->
TokenTree
source
§
impl
ToTokenTree
for
String
source
§
fn
to_token
(self, span:
Span
) ->
TokenTree
source
§
impl
ToTokenTree
for Symbol
source
§
fn
to_token
(self, span:
Span
) ->
TokenTree
source
§
impl<T:
ToTokenTree
+
Clone
>
ToTokenTree
for
&T
source
§
fn
to_token
(self, span:
Span
) ->
TokenTree
Implementors
§
source
§
impl
ToTokenTree
for
Name
source
§
impl
ToTokenTree
for
Ident
source
§
impl
ToTokenTree
for
Leaf
source
§
impl
ToTokenTree
for
Literal
source
§
impl
ToTokenTree
for
Punct
source
§
impl
ToTokenTree
for
Subtree
source
§
impl
ToTokenTree
for
TokenTree