pub struct FastaStats {
pub records: u64,
pub bases: u64,
pub checksum: u64,
}Expand description
Aggregate statistics for sequence-only FASTA workloads.
Fields§
§records: u64Number of records observed.
bases: u64Number of sequence bases observed.
checksum: u64Lightweight deterministic checksum over record shape and edge bases.
Implementations§
Source§impl FastaStats
impl FastaStats
Sourcepub fn observe_sequence(&mut self, seq: &[u8])
pub fn observe_sequence(&mut self, seq: &[u8])
Observe one sequence.
Trait Implementations§
Source§impl Clone for FastaStats
impl Clone for FastaStats
Source§fn clone(&self) -> FastaStats
fn clone(&self) -> FastaStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FastaStats
Source§impl Debug for FastaStats
impl Debug for FastaStats
Source§impl Default for FastaStats
impl Default for FastaStats
impl Eq for FastaStats
Source§impl PartialEq for FastaStats
impl PartialEq for FastaStats
Source§fn eq(&self, other: &FastaStats) -> bool
fn eq(&self, other: &FastaStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FastaStats
Auto Trait Implementations§
impl Freeze for FastaStats
impl RefUnwindSafe for FastaStats
impl Send for FastaStats
impl Sync for FastaStats
impl Unpin for FastaStats
impl UnsafeUnpin for FastaStats
impl UnwindSafe for FastaStats
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