(&self)
| 35 | |
| 36 | impl ExampleDataset { |
| 37 | pub fn file_stem(&self) -> &'static str { |
| 38 | match self { |
| 39 | Self::Cars => "cars", |
| 40 | Self::Regex => "regex", |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | pub fn path(&self) -> PathBuf { |
| 45 | PathBuf::from(env!("CARGO_MANIFEST_DIR")) |
no outgoing calls