melodium-common 0.10.1

Common Mélodium elements and traits
Documentation
1
2
3
4
5
6
7
8
9
10
use core::fmt::Debug;
use std::collections::HashMap;

pub type Attribute = String;

pub type Attributes = HashMap<String, Attribute>;

pub trait Attribuable: Debug + Send + Sync {
    fn attributes(&self) -> &Attributes;
}