Enum msn_kit::io::Format [−][src]
pub enum Format {
Json,
Mgf,
MzML,
}Expand description
Types of formats that can be read or written.
Examples
Create Format::Mgf from a string.
use std::str::FromStr;
use msn_kit::io::Format;
let f = Format::from_str("mgf").unwrap();
assert_eq!(f, Format::Mgf);Variants
json newline format
Mascot Generic Format
mzML format specified here: https://www.psidev.info/mzML
Trait Implementations
Creates a Format type, from a string.