PathComponentKind

Trait PathComponentKind 

Source
pub trait PathComponentKind: Display + ToCompactString {
    // Required method
    fn component_kind() -> Kind;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl PathComponentKind for usize

Source§

impl PathComponentKind for CompactString

Source§

impl PathComponentKind for String

Source§

impl<'a> PathComponentKind for &'a str

Source§

impl<'a> PathComponentKind for Cow<'a, str>

Source§

impl<T: PathComponentKind> PathComponentKind for &T

Implementors§