Trait freya::prelude::ItemPath

source ·
pub trait ItemPath: PartialEq {
    // Required method
    fn item_starts_with(&self, other: &Self) -> bool;
}
Expand description

Abstract the path matching.

Required Methods§

source

fn item_starts_with(&self, other: &Self) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ItemPath for PathBuf

source§

fn item_starts_with(&self, other: &PathBuf) -> bool

Implementors§