Source code
Revision control
Copy as Markdown
Other Tools
use quote::quote;
struct Ipv4Addr;
fn main() {
let ip = Ipv4Addr;
let _ = quote! { #(#ip)* };
}
use quote::quote;
struct Ipv4Addr;
fn main() {
let ip = Ipv4Addr;
let _ = quote! { #(#ip)* };
}