Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_core/src/cfg.rs

213 bytes, 1 run

created by r1870400018:68, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1use crate::file::Loadable;
2
3use std::path::PathBuf;
4
5/// Allows configuration to be specified either with `Config` or a file.
6#[derive(Debug)]
7pub enum ConfigInit<C: Loadable> {
8 Data(C),
9 Path(PathBuf),
10}
11