Struct noodles::gff::directive::genome_build::GenomeBuild [−][src]
pub struct GenomeBuild { /* fields omitted */ }
Expand description
A GFF directive genome build.
Implementations
Creates a genome build directive.
Examples
use noodles_gff::directive::GenomeBuild;
let genome_build = GenomeBuild::new(String::from("NDLS"), String::from("r1"));
Returns the genome build source.
Examples
use noodles_gff::directive::GenomeBuild;
let genome_build = GenomeBuild::new(String::from("NDLS"), String::from("r1"));
assert_eq!(genome_build.source(), "NDLS");
Trait Implementations
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Parses a string s
to return a value of this type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GenomeBuild
impl Send for GenomeBuild
impl Sync for GenomeBuild
impl Unpin for GenomeBuild
impl UnwindSafe for GenomeBuild
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.