Trait TryIntoSynPath

Source
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<PortableForm>

Source§

impl TryIntoSynPath for Path

Implementors§