elvis-core 0.1.1

Evlis shared library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use elvis_core_support::Setter;

/// Node Attributes
#[derive(Clone, Default, PartialEq, PartialOrd, Eq, Ord, Setter)]
pub struct Attribute {
    /// Node Id
    pub id: String,
    /// Node Tag
    pub tag: String,
    /// Source
    pub src: String,
    /// Text
    pub text: String,
    /// Type
    pub r#type: String,
}