ecitygml-core 0.0.2-alpha.3

Core primitives and operations for processing CityGML data.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::model::generics::GenericAttributeKind;

#[derive(Debug, Clone, PartialEq)]
pub struct GenericAttributeSet {
    pub name: String,
    pub generic_attributes: Vec<GenericAttributeKind>,
}

impl GenericAttributeSet {
    pub fn new(name: String, generic_attributes: Vec<GenericAttributeKind>) -> Self {
        Self {
            name,
            generic_attributes,
        }
    }
}