rudof_lib/shapes_graph_source.rs
1#[derive(Debug, PartialEq, Clone, Default)]
2pub enum ShapesGraphSource {
3 #[default]
4 CurrentData,
5 CurrentSchema,
6}
7
8impl ShapesGraphSource {
9 pub fn new() -> ShapesGraphSource {
10 Self::default()
11 }
12
13 pub fn current_schema() -> ShapesGraphSource {
14 ShapesGraphSource::CurrentSchema
15 }
16
17 pub fn current_data() -> ShapesGraphSource {
18 ShapesGraphSource::CurrentData
19 }
20}