pub struct Block {
pub size: u32,
pub gap_reference: u32,
pub gap_query: u32,
}Expand description
One alignment block.
Represents a contiguous alignment region between reference and query sequences. Each block defines the size of the aligned region and gaps to the next block.
§Fields
size- Length of the aligned region in basesgap_reference- Gap size on the reference sequence before the next blockgap_query- Gap size on the query sequence before the next block
§Examples
use chaintools::Block;
let block = Block {
size: 100, // 100 bases aligned
gap_reference: 50, // 50 bases gap on the reference
gap_query: 30, // 30 bases gap on the query
};Fields§
§size: u32§gap_reference: u32§gap_query: u32Trait Implementations§
impl Copy for Block
impl Eq for Block
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnsafeUnpin for Block
impl UnwindSafe for Block
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