collector.time()

This commit is contained in:
Quaternions 2023-10-31 21:31:50 -07:00
parent d155517587
commit 354b96d98f

View File

@ -25,7 +25,10 @@ impl<I> InstructionCollector<I>{
instruction:None
}
}
#[inline]
pub fn time(&self)->Time{
self.time
}
pub fn collect(&mut self,instruction:Option<TimedInstruction<I>>){
match instruction{
Some(unwrap_instruction)=>{