Skip to main content

PathElement

Type Alias PathElement 

Source
pub type PathElement<'a> = PathElementGeneric<'a, CaseSensitivity>;
Expand description

Path element with runtime-selected case sensitivity.

Alias for PathElementGeneric<'a, CaseSensitivity>. Does not implement Hash because elements with different sensitivities must not share a hash map.

Aliased Type§

pub struct PathElement<'a> { /* private fields */ }

Trait Implementations§

Source§

impl<'a> From<PathElementGeneric<'a, CaseInsensitive>> for PathElement<'a>

Converts a compile-time case-insensitive element into a runtime-dynamic PathElement.

Source§

fn from(pe: PathElementCI<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<PathElementGeneric<'a, CaseSensitive>> for PathElement<'a>

Converts a compile-time case-sensitive element into a runtime-dynamic PathElement.

Source§

fn from(pe: PathElementCS<'a>) -> Self

Converts to this type from the input type.