Skip to main content

ty

Macro ty 

Source
macro_rules! ty {
    ($($body:tt)*) => { ... };
}
Expand description

This macro takes type paths of the form my_crate::my_mod::FooBar and <my_crate::my_mod::FooBar as my_crate::my_mod::MyTrait>::MyType and turns them into a syn::Type.