INNER CODE UNIT · Rust

is_combo

edwardkim/rhwp · crates/rhwp-ooxml-chart/src/lib.rs:453

    pub fn is_combo(&self) -> bool {
        let mut types: std::collections::HashSet<OoxmlChartType> = std::collections::HashSet::new();
        for s in &self.series {
            if s.series_type != OoxmlChartType::Unknown {
                types.insert(s.series_type);
            }
        }
        types.len() > 1
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…