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]

impl<Graph: GraphBase> Debug for EdgeUnitig<Graph> where
    Graph::EdgeIndex: Debug
[src]

impl<'a, Graph: GraphBase> EdgeWalk<'a, Graph, [<Graph as GraphBase>::EdgeIndex]> for EdgeUnitig<Graph> where
    Graph::EdgeIndex: 'a, 
[src]

impl<Graph: GraphBase> Eq for EdgeUnitig<Graph> where
    Graph::NodeIndex: Eq,
    Graph::EdgeIndex: Eq
[src]

impl<Graph: GraphBase, IndexType> Index<IndexType> for EdgeUnitig<Graph> where
    VecEdgeWalk<Graph>: Index<IndexType>, 
[src]

type Output = <VecEdgeWalk<Graph> as Index<IndexType>>::Output

The returned type after indexing.

impl<Graph: GraphBase> PartialEq<EdgeUnitig<Graph>> for EdgeUnitig<Graph> where
    Graph::NodeIndex: PartialEq,
    Graph::EdgeIndex: PartialEq
[src]

impl<'a, Graph: GraphBase> Sequence<'a, <Graph as GraphBase>::EdgeIndex, [<Graph as GraphBase>::EdgeIndex]> for EdgeUnitig<Graph> where
    Graph::EdgeIndex: 'a, 
[src]

type Iterator = Iter<'a, Graph::EdgeIndex>

The iterator type of the sequence.

impl<'a, Graph: 'a + GraphBase> Sequence<'a, EdgeUnitig<Graph>, [EdgeUnitig<Graph>]> for EdgeUnitigs<Graph> where
    Graph::EdgeIndex: 'a, 
[src]

type Iterator = Iter<'a, EdgeUnitig<Graph>>

The iterator type of the sequence.

Auto Trait Implementations

impl<Graph> RefUnwindSafe for EdgeUnitig<Graph> where
    <Graph as GraphBase>::EdgeIndex: RefUnwindSafe

impl<Graph> Send for EdgeUnitig<Graph> where
    <Graph as GraphBase>::EdgeIndex: Send

impl<Graph> Sync for EdgeUnitig<Graph> where
    <Graph as GraphBase>::EdgeIndex: Sync

impl<Graph> Unpin for EdgeUnitig<Graph> where
    <Graph as GraphBase>::EdgeIndex: Unpin

impl<Graph> UnwindSafe for EdgeUnitig<Graph> where
    <Graph as GraphBase>::EdgeIndex: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,