macro_rules! convert {
($t:ty) => { ... };
}Expand description
Build a ConvertDecl directly from a bare Rust type:
convert!(Millis) is ConvertDecl::new(<Millis as syn::Type>).
See ptr_class! for the parsing mechanics.
macro_rules! convert {
($t:ty) => { ... };
}Build a ConvertDecl directly from a bare Rust type:
convert!(Millis) is ConvertDecl::new(<Millis as syn::Type>).
See ptr_class! for the parsing mechanics.