Enum noodles_vcf::record::chromosome::Chromosome
source · [−]Expand description
A VCF record chromosome (CHROM
).
Variants
Name(String)
A reference sequence name.
Symbol(String)
A symbol.
Trait Implementations
sourceimpl Clone for Chromosome
impl Clone for Chromosome
sourcefn clone(&self) -> Chromosome
fn clone(&self) -> Chromosome
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Chromosome
impl Debug for Chromosome
sourceimpl Display for Chromosome
impl Display for Chromosome
sourceimpl FromStr for Chromosome
impl FromStr for Chromosome
sourceimpl PartialEq<Chromosome> for Chromosome
impl PartialEq<Chromosome> for Chromosome
sourcefn eq(&self, other: &Chromosome) -> bool
fn eq(&self, other: &Chromosome) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Chromosome) -> bool
fn ne(&self, other: &Chromosome) -> bool
This method tests for !=
.
impl Eq for Chromosome
impl StructuralEq for Chromosome
impl StructuralPartialEq for Chromosome
Auto Trait Implementations
impl RefUnwindSafe for Chromosome
impl Send for Chromosome
impl Sync for Chromosome
impl Unpin for Chromosome
impl UnwindSafe for Chromosome
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more