CBTrait

Trait CBTrait 

Source
pub trait CBTrait {
    // Required methods
    fn with_grade(&mut self, grade: Vec<Ratio>) -> Result<Cycle>;
    fn with_temp_amb_air(
        &mut self,
        temp_amb_air: Vec<Temperature>,
    ) -> Result<Cycle>;
}
Expand description

Trait for CycleBuilder and Cycle to support builder pattern

Required Methods§

Source

fn with_grade(&mut self, grade: Vec<Ratio>) -> Result<Cycle>

Return cycle with grade

Source

fn with_temp_amb_air(&mut self, temp_amb_air: Vec<Temperature>) -> Result<Cycle>

Return cycle with temp_amb_air

Implementors§