Resolve "Consider using the `genpdf` crate for generating PDF documents from analysis reports."
Merged
requested to merge 73-consider-using-the-genpdf-crate-for-generating-pdf-documents-from-analysis-reports into main
Compare changes
+ 220
− 148
@@ -12,8 +17,7 @@ use std::fs::File;
@@ -21,7 +25,7 @@ use uom::si::{f64::Length, length::nanometer};
@@ -47,12 +51,12 @@ impl Spectrum {
@@ -92,7 +96,7 @@ impl Spectrum {
@@ -112,8 +116,8 @@ impl Spectrum {
@@ -136,7 +140,7 @@ impl Spectrum {
@@ -144,9 +148,9 @@ impl Spectrum {
@@ -155,23 +159,21 @@ impl Spectrum {
@@ -200,15 +202,16 @@ impl Spectrum {
@@ -351,48 +354,6 @@ impl Spectrum {
@@ -401,6 +362,22 @@ impl Spectrum {
@@ -408,7 +385,7 @@ impl Display for Spectrum {
@@ -424,7 +401,7 @@ impl Debug for Spectrum {
@@ -531,22 +508,55 @@ pub fn merge_spectra(s1: Option<Spectrum>, s2: Option<Spectrum>) -> Option<Spect
@@ -564,30 +574,30 @@ mod test {
@@ -598,7 +608,7 @@ mod test {
@@ -618,18 +628,19 @@ mod test {
@@ -638,7 +649,8 @@ mod test {
@@ -647,15 +659,19 @@ mod test {
@@ -663,7 +679,8 @@ mod test {
@@ -671,19 +688,29 @@ mod test {
@@ -691,43 +718,73 @@ mod test {
@@ -753,16 +810,17 @@ mod test {
@@ -770,17 +828,19 @@ mod test {
@@ -788,33 +848,39 @@ mod test {
@@ -822,16 +888,17 @@ mod test {
@@ -839,16 +906,17 @@ mod test {
@@ -856,18 +924,22 @@ mod test {