Struct omnitigs::unitigs::EdgeUnitig [−][src]
pub struct EdgeUnitig<Graph: GraphBase> { /* fields omitted */ }
A unitig stored as sequence of edges.
Implementations
impl<Graph: GraphBase> EdgeUnitig<Graph>
[src]
pub fn new(walk: VecEdgeWalk<Graph>) -> Self
[src]
Creates a new unitig from the given walk. Panics if the walk is empty.
Trait Implementations
impl<Graph: Clone + GraphBase> Clone for EdgeUnitig<Graph>
[src]
fn clone(&self) -> EdgeUnitig<Graph>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Graph: GraphBase> Debug for EdgeUnitig<Graph> where
Graph::EdgeIndex: Debug,
[src]
Graph::EdgeIndex: Debug,
impl<'a, Graph: GraphBase> EdgeWalk<'a, Graph, [<Graph as GraphBase>::EdgeIndex]> for EdgeUnitig<Graph> where
Graph::EdgeIndex: 'a,
[src]
Graph::EdgeIndex: 'a,
pub fn compute_trivial_heart(&'a self, graph: &Graph) -> Option<(usize, usize)> where
Graph: StaticGraph,
[src]
Graph: StaticGraph,
pub fn compute_trivial_heart_edge_len(&'a self, graph: &Graph) -> Option<usize> where
Graph: StaticGraph,
[src]
Graph: StaticGraph,
pub fn is_non_trivial(&'a self, graph: &Graph) -> bool where
Graph: StaticGraph,
[src]
Graph: StaticGraph,
pub fn compute_univocal_extension<ResultWalk>(
&'a self,
graph: &Graph
) -> ResultWalk where
Graph: StaticGraph,
ResultWalk: From<Vec<<Graph as GraphBase>::EdgeIndex, Global>>,
[src]
&'a self,
graph: &Graph
) -> ResultWalk where
Graph: StaticGraph,
ResultWalk: From<Vec<<Graph as GraphBase>::EdgeIndex, Global>>,
pub fn compute_univocal_extension_non_scc<ResultWalk>(
&'a self,
graph: &Graph
) -> ResultWalk where
Graph: StaticGraph,
ResultWalk: From<Vec<<Graph as GraphBase>::EdgeIndex, Global>>,
[src]
&'a self,
graph: &Graph
) -> ResultWalk where
Graph: StaticGraph,
ResultWalk: From<Vec<<Graph as GraphBase>::EdgeIndex, Global>>,
pub fn compute_univocal_extension_with_original_offset<ResultWalk>(
&'a self,
graph: &Graph
) -> (usize, ResultWalk) where
Graph: StaticGraph,
ResultWalk: From<Vec<<Graph as GraphBase>::EdgeIndex, Global>>,
[src]
&'a self,
graph: &Graph
) -> (usize, ResultWalk) where
Graph: StaticGraph,
ResultWalk: From<Vec<<Graph as GraphBase>::EdgeIndex, Global>>,
pub fn compute_univocal_extension_with_original_offset_non_scc<ResultWalk>(
&'a self,
graph: &Graph
) -> (usize, ResultWalk) where
Graph: StaticGraph,
ResultWalk: From<Vec<<Graph as GraphBase>::EdgeIndex, Global>>,
[src]
&'a self,
graph: &Graph
) -> (usize, ResultWalk) where
Graph: StaticGraph,
ResultWalk: From<Vec<<Graph as GraphBase>::EdgeIndex, Global>>,
pub fn clone_as_node_walk<ResultWalk>(
&'a self,
graph: &Graph
) -> Option<ResultWalk> where
Graph: StaticGraph,
ResultWalk: From<Vec<<Graph as GraphBase>::NodeIndex, Global>>,
[src]
&'a self,
graph: &Graph
) -> Option<ResultWalk> where
Graph: StaticGraph,
ResultWalk: From<Vec<<Graph as GraphBase>::NodeIndex, Global>>,
pub fn is_proper_subwalk_of(&'a self, other: &Self) -> bool where
<Graph as GraphBase>::EdgeIndex: Eq,
[src]
<Graph as GraphBase>::EdgeIndex: Eq,
pub fn is_circular_walk(&'a self, graph: &Graph) -> bool where
Graph: StaticGraph,
[src]
Graph: StaticGraph,
impl<Graph: GraphBase> Eq for EdgeUnitig<Graph> where
Graph::NodeIndex: Eq,
Graph::EdgeIndex: Eq,
[src]
Graph::NodeIndex: Eq,
Graph::EdgeIndex: Eq,
impl<Graph: GraphBase, IndexType> Index<IndexType> for EdgeUnitig<Graph> where
VecEdgeWalk<Graph>: Index<IndexType>,
[src]
VecEdgeWalk<Graph>: Index<IndexType>,
type Output = <VecEdgeWalk<Graph> as Index<IndexType>>::Output
The returned type after indexing.
fn index(&self, index: IndexType) -> &Self::Output
[src]
impl<Graph: GraphBase> PartialEq<EdgeUnitig<Graph>> for EdgeUnitig<Graph> where
Graph::NodeIndex: PartialEq,
Graph::EdgeIndex: PartialEq,
[src]
Graph::NodeIndex: PartialEq,
Graph::EdgeIndex: PartialEq,
impl<'a, Graph: GraphBase> Sequence<'a, <Graph as GraphBase>::EdgeIndex, [<Graph as GraphBase>::EdgeIndex]> for EdgeUnitig<Graph> where
Graph::EdgeIndex: 'a,
[src]
Graph::EdgeIndex: 'a,
type Iterator = Iter<'a, Graph::EdgeIndex>
The iterator type of the sequence.
fn iter(&'a self) -> Self::Iterator
[src]
fn len(&self) -> usize
[src]
pub fn prefix(&'a self, len: usize) -> &'a Subsequence
[src]
pub fn suffix(&'a self, len: usize) -> &'a Subsequence
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn first(&'a self) -> Option<&'a Item>
[src]
pub fn last(&'a self) -> Option<&'a Item>
[src]
pub fn is_proper_subsequence_of(&'a self, other: &Self) -> bool where
Item: Eq,
[src]
Item: Eq,
pub fn contains(&'a self, item: &Item) -> bool where
Item: Eq,
[src]
Item: Eq,
pub fn forward_merge_iter_assume_mergeable(
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
[src]
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
pub fn backward_merge_iter_assume_mergeable(
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
[src]
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
pub fn to_debug_string(&'a self) -> String where
Item: Debug,
[src]
Item: Debug,
impl<'a, Graph: 'a + GraphBase> Sequence<'a, EdgeUnitig<Graph>, [EdgeUnitig<Graph>]> for EdgeUnitigs<Graph> where
Graph::EdgeIndex: 'a,
[src]
Graph::EdgeIndex: 'a,
type Iterator = Iter<'a, EdgeUnitig<Graph>>
The iterator type of the sequence.
fn iter(&'a self) -> Self::Iterator
[src]
fn len(&self) -> usize
[src]
pub fn prefix(&'a self, len: usize) -> &'a Subsequence
[src]
pub fn suffix(&'a self, len: usize) -> &'a Subsequence
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn first(&'a self) -> Option<&'a Item>
[src]
pub fn last(&'a self) -> Option<&'a Item>
[src]
pub fn is_proper_subsequence_of(&'a self, other: &Self) -> bool where
Item: Eq,
[src]
Item: Eq,
pub fn contains(&'a self, item: &Item) -> bool where
Item: Eq,
[src]
Item: Eq,
pub fn forward_merge_iter_assume_mergeable(
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
[src]
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
pub fn backward_merge_iter_assume_mergeable(
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
[src]
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
pub fn to_debug_string(&'a self) -> String where
Item: Debug,
[src]
Item: Debug,
Auto Trait Implementations
impl<Graph> RefUnwindSafe for EdgeUnitig<Graph> where
<Graph as GraphBase>::EdgeIndex: RefUnwindSafe,
<Graph as GraphBase>::EdgeIndex: RefUnwindSafe,
impl<Graph> Send for EdgeUnitig<Graph> where
<Graph as GraphBase>::EdgeIndex: Send,
<Graph as GraphBase>::EdgeIndex: Send,
impl<Graph> Sync for EdgeUnitig<Graph> where
<Graph as GraphBase>::EdgeIndex: Sync,
<Graph as GraphBase>::EdgeIndex: Sync,
impl<Graph> Unpin for EdgeUnitig<Graph> where
<Graph as GraphBase>::EdgeIndex: Unpin,
<Graph as GraphBase>::EdgeIndex: Unpin,
impl<Graph> UnwindSafe for EdgeUnitig<Graph> where
<Graph as GraphBase>::EdgeIndex: UnwindSafe,
<Graph as GraphBase>::EdgeIndex: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,