pub struct PackingInfo {
pub original_indices: Vec<usize>,
pub sequence_boundaries: Vec<(usize, usize)>,
pub num_sequences: usize,
pub packed_length: usize,
pub efficiency: f32,
}Expand description
Information about how sequences were packed
Fields§
§original_indices: Vec<usize>Original sequence indices that were packed together
sequence_boundaries: Vec<(usize, usize)>Start and end positions of each sequence in the packed sequence
num_sequences: usizeNumber of sequences packed together
packed_length: usizeTotal length of the packed sequence (excluding padding)
efficiency: f32Efficiency ratio (used length / max length)
Trait Implementations§
Source§impl Clone for PackingInfo
impl Clone for PackingInfo
Source§fn clone(&self) -> PackingInfo
fn clone(&self) -> PackingInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PackingInfo
impl RefUnwindSafe for PackingInfo
impl Send for PackingInfo
impl Sync for PackingInfo
impl Unpin for PackingInfo
impl UnsafeUnpin for PackingInfo
impl UnwindSafe for PackingInfo
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more