|
@@ -89,6 +89,10 @@ impl Renderer {
|
|
write!(buf, " {}=\"{}\"", attr.name, value)?
|
|
write!(buf, " {}=\"{}\"", attr.name, value)?
|
|
}
|
|
}
|
|
AttributeValue::Bool(value) => write!(buf, " {}={}", attr.name, value)?,
|
|
AttributeValue::Bool(value) => write!(buf, " {}={}", attr.name, value)?,
|
|
|
|
+ AttributeValue::Int(value) => write!(buf, " {}={}", attr.name, value)?,
|
|
|
|
+ AttributeValue::Float(value) => {
|
|
|
|
+ write!(buf, " {}={}", attr.name, value)?
|
|
|
|
+ }
|
|
_ => {}
|
|
_ => {}
|
|
};
|
|
};
|
|
}
|
|
}
|