Skip to main content

AsPathView

Trait AsPathView 

Source
pub trait AsPathView<'a, T> {
    // Required method
    fn as_path_view(self) -> T;
}

Required Methods§

Source

fn as_path_view(self) -> T

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a> AsPathView<'a, &'a Path<UnixEncoding>> for &'a UnixPath

Source§

impl<'a> AsPathView<'a, &'a Path<UnixEncoding>> for &'a UnixPathBuf

Source§

impl<'a> AsPathView<'a, &'a Path> for &'a Path

Source§

fn as_path_view(self) -> &'a Path

Source§

impl<'a> AsPathView<'a, &'a Path> for &'a PathBuf

Source§

fn as_path_view(self) -> &'a Path

Implementors§