Struct noodles_sam::alignment::record::mapping_quality::MappingQuality
source · pub struct MappingQuality(/* private fields */);
Expand description
An alignment record mapping quality.
Mapping quality ranges from 0 to 254 (inclusive), where higher is better.
The value 255 is reserved as a marker for a missing mapping quality.
Implementations§
Trait Implementations§
source§impl Clone for MappingQuality
impl Clone for MappingQuality
source§fn clone(&self) -> MappingQuality
fn clone(&self) -> MappingQuality
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MappingQuality
impl Debug for MappingQuality
source§impl Default for MappingQuality
impl Default for MappingQuality
source§fn default() -> MappingQuality
fn default() -> MappingQuality
Returns the “default value” for a type. Read more
source§impl From<MappingQuality> for u8
impl From<MappingQuality> for u8
source§fn from(mapping_quality: MappingQuality) -> Self
fn from(mapping_quality: MappingQuality) -> Self
Converts to this type from the input type.
source§impl Ord for MappingQuality
impl Ord for MappingQuality
source§fn cmp(&self, other: &MappingQuality) -> Ordering
fn cmp(&self, other: &MappingQuality) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MappingQuality
impl PartialEq for MappingQuality
source§fn eq(&self, other: &MappingQuality) -> bool
fn eq(&self, other: &MappingQuality) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MappingQuality
impl PartialOrd for MappingQuality
source§fn partial_cmp(&self, other: &MappingQuality) -> Option<Ordering>
fn partial_cmp(&self, other: &MappingQuality) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<u8> for MappingQuality
impl TryFrom<u8> for MappingQuality
impl Copy for MappingQuality
impl Eq for MappingQuality
impl StructuralPartialEq for MappingQuality
Auto Trait Implementations§
impl Freeze for MappingQuality
impl RefUnwindSafe for MappingQuality
impl Send for MappingQuality
impl Sync for MappingQuality
impl Unpin for MappingQuality
impl UnwindSafe for MappingQuality
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.