mezzaluna_loaded_features/feature/
memory.rs1use std::path::{Path, PathBuf};
2
3#[derive(Debug, Hash, PartialEq, Eq)]
4pub struct Feature {
5 path: PathBuf,
6}
7
8impl Feature {
9 pub fn with_path(path: PathBuf) -> Self {
10 Self { path }
11 }
12
13 pub fn path(&self) -> &Path {
14 &self.path
15 }
16}