pub trait AsTokenBuf<'a, T: TokenTree> {
// Required method
fn as_token_buf(&'a self) -> &'a TokenBuf<T>;
}
Expand description
Automatically implemented for types that implement Into<&TokenBuf>
for &Type
.
Required Methods§
Sourcefn as_token_buf(&'a self) -> &'a TokenBuf<T>
fn as_token_buf(&'a self) -> &'a TokenBuf<T>
Get a reference to this as a TokenBuf
.