Skip to main content

ecitygml_core/model/generics/
double_attribute.rs

1#[derive(Debug, Clone, PartialEq, PartialOrd)]
2pub struct DoubleAttribute {
3    pub name: String,
4    pub value: f64,
5}
6
7impl DoubleAttribute {
8    pub fn new(name: String, value: f64) -> Self {
9        Self { name, value }
10    }
11}