Trait rspirv::binary::Assemble [−][src]
pub trait Assemble {
fn assemble_into(&self, result: &mut Vec<u32>);
fn assemble(&self) -> Vec<u32> { ... }
}
Expand description
Trait for assembling functionalities.
Required methods
fn assemble_into(&self, result: &mut Vec<u32>)
fn assemble_into(&self, result: &mut Vec<u32>)
Assembles the current object into the result
vector, reducing the need for lots of allocations