pub trait TryIntoSynPath {
    // Required method
    fn syn_path(self) -> Option<Path>;
}
Expand description

New-type trait for TryInto<syn::Path>

Required Methods§

source

fn syn_path(self) -> Option<Path>

Turns the type into a syn::Path. Returns None for empty paths.

Implementations on Foreign Types§

source§

impl TryIntoSynPath for Path

source§

impl<'a> TryIntoSynPath for &'a Path<PortableForm>

Implementors§