[−][src]Struct debruijn::graph::Node
Unbranched sequence in the DeBruijn graph
Fields
node_id: usize
graph: &'a DebruijnGraph<K, D>
Methods
impl<'a, K: Kmer, D: Debug> Node<'a, K, D>
[src]
pub fn len(&self) -> usize
[src]
Length of the sequence of this node
pub fn sequence(&self) -> DnaStringSlice<'a>
[src]
Sequence of the node
pub fn data(&self) -> &'a D
[src]
Reference to auxiliarly data associated with the node
pub fn exts(&self) -> Exts
[src]
Extension bases from this node
pub fn l_edges(&self) -> SmallVec<[(usize, Dir, bool); 4]>
[src]
Edges leaving the left side of the node in the format
pub fn r_edges(&self) -> SmallVec<[(usize, Dir, bool); 4]>
[src]
Edges leaving the right side of the node in the format
pub fn edges(&self, dir: Dir) -> SmallVec<[(usize, Dir, bool); 4]>
[src]
Edges leaving the 'dir' side of the node in the format
Trait Implementations
Auto Trait Implementations
impl<'a, K, D> Send for Node<'a, K, D> where
D: Sync,
K: Sync,
D: Sync,
K: Sync,
impl<'a, K, D> Sync for Node<'a, K, D> where
D: Sync,
K: Sync,
D: Sync,
K: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,