pub fn add_phase(&mut self, time: i32, name: String, phase: PipelinePhase) {
        if self.phases.contains_key(&time) {
            panic!("phase {} was already contained within this pipeline, conflicting phases were \"{}\"; \"{}\"", time, name, self.phases.get(&time).unwrap().0);
        }
        self.phases.insert(time, (name, phase));
    }
/// Register a phase in this pipeline.
/// 
/// # Panics
/// If a phase with the given time already exists in the pipeline, it will panic.
Register a phase in this pipeline.
Register a phase in this pipeline .
pub fn add_phase(&mut self, time: i32, name: String, phase: PipelinePhase) {
        if self.phases.contains_key(&time) {
            panic!("phase {} was already contained within this pipeline, conflicting phases were \"{}\"; \"{}\"", time, name, self.phases.get(&time).unwrap().0);
        }
        self.phases.insert(time, (name, phase));
    }
pub fn add_phase ( & mut self , time : i32 , name : String , phase : PipelinePhase ) { if self . phases . contains_key ( & time ) { panic ! ( " \" \" \" \" " time name self phases get ( time ) unwrap ( ) 0 ) ; } self . phases . insert ( time , ( name , phase ) ) ; }
Register a phase in this pipeline.
Register a phase in this pipeline .
&mut self
time
i32
name
String
phase
PipelinePhase
&mut self
time
i32
name
String
phase
PipelinePhase
panics
If a phase with the given time already exists in the pipeline, it will panic.
If a phase with the given time already exists in the pipeline it will panic .