swls_lov/lib.rs
1use std::borrow::Cow;
2
3use bevy_ecs::component::Component;
4
5mod min_prefixes;
6#[derive(Debug, Component, Clone)]
7pub struct LocalPrefix {
8 pub location: Cow<'static, str>,
9 pub namespace: Cow<'static, str>,
10 pub content: Cow<'static, str>,
11 pub name: Cow<'static, str>,
12 pub title: Cow<'static, str>,
13 pub rank: usize,
14}
15
16pub const LOCAL_PREFIXES: &'static [LocalPrefix] = min_prefixes::LOCAL_PREFIXES;