Initial commit

This commit is contained in:
Philip (a-0) 2023-07-02 20:40:33 +02:00
commit 2fd06a5e83
40 changed files with 1354 additions and 0 deletions

View file

@ -0,0 +1,25 @@
use super::Attribute;
default_derive!{
pub struct AttributeList {
attrs: Vec<Attribute>
}
}
impl From<Vec<Attribute>> for AttributeList {
fn from(value: Vec<Attribute>) -> Self {
AttributeList { attrs: value }
}
}
impl Into<Vec<Attribute>> for AttributeList {
fn into(self) -> Vec<Attribute> {
self.attrs
}
}
#[test]
fn valid1() {
todo!()
}