Generated structs are now private

This commit is contained in:
Pierre Krieger 2016-02-06 12:05:24 +01:00
parent 1ae8fea0e0
commit 5b3c5e58c6

View File

@ -25,7 +25,7 @@ pub fn reflect<R>(name: &str, mut spirv: R) -> Result<String, Error>
// writing the header
output.push_str(&format!(r#"
pub struct {name} {{
struct {name} {{
shader: ::std::sync::Arc<::vulkano::shader::ShaderModule>,
}}