pub struct PathPosition { /* private fields */ }Expand description
A path position represented in multiple ways.
Implementations§
Source§impl PathPosition
impl PathPosition
Sourcepub fn seq_offset(&self) -> usize
pub fn seq_offset(&self) -> usize
Returns the sequence offset in bp from the start of the path.
Sourcepub fn orientation(&self) -> Orientation
pub fn orientation(&self) -> Orientation
Returns the orientation of the node.
Sourcepub fn node_offset(&self) -> usize
pub fn node_offset(&self) -> usize
Returns the offset from the start of the node.
Sourcepub fn graph_pos(&self) -> GraphPosition
pub fn graph_pos(&self) -> GraphPosition
Returns the graph position.
Sourcepub fn gbwt_offset(&self) -> usize
pub fn gbwt_offset(&self) -> usize
Returns the offset within the GBWT record.
Trait Implementations§
Source§impl Clone for PathPosition
impl Clone for PathPosition
Source§fn clone(&self) -> PathPosition
fn clone(&self) -> PathPosition
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 moreSource§impl Debug for PathPosition
impl Debug for PathPosition
Source§impl PartialEq for PathPosition
impl PartialEq for PathPosition
impl Copy for PathPosition
impl Eq for PathPosition
impl StructuralPartialEq for PathPosition
Auto Trait Implementations§
impl Freeze for PathPosition
impl RefUnwindSafe for PathPosition
impl Send for PathPosition
impl Sync for PathPosition
impl Unpin for PathPosition
impl UnsafeUnpin for PathPosition
impl UnwindSafe for PathPosition
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