pub trait GetPath {
// Required method
fn get_path(&self) -> Option<&Path>;
}Expand description
Shortcut to get syn::Path from various types
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".