pub trait Assemble {
// Required method
fn assemble_into(&self, result: &mut Vec<u32>);
// Provided method
fn assemble(&self) -> Vec<u32> { ... }
}
Expand description
Trait for assembling functionalities.
Required Methods§
sourcefn 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