swls-lov 0.1.2

Linked Open Vocabularies (LOV) data and types for the Semantic Web Language Server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::borrow::Cow;

use bevy_ecs::component::Component;

mod min_prefixes;
#[derive(Debug, Component, Clone)]
pub struct LocalPrefix {
    pub location: Cow<'static, str>,
    pub namespace: Cow<'static, str>,
    pub content: Cow<'static, str>,
    pub name: Cow<'static, str>,
    pub title: Cow<'static, str>,
    pub rank: usize,
}

pub const LOCAL_PREFIXES: &'static [LocalPrefix] = min_prefixes::LOCAL_PREFIXES;