[][src]Struct handlegraph::packedgraph::graph::PackedGraph

pub struct PackedGraph { /* fields omitted */ }

Implementations

impl PackedGraph[src]

pub fn new() -> Self[src]

pub fn with_path_mut_ctx<F>(&mut self, path_id: PathId, f: F) where
    F: Fn(&mut PackedPathMut<'b>) -> Vec<StepUpdate>, 
[src]

pub fn zip_all_paths_mut_ctx<T, I, F>(&mut self, iter: I, f: F) where
    I: IndexedParallelIterator<Item = T>,
    T: Send + Sync,
    F: Fn(T, PathId, &mut PackedPathMut<'b>) -> Vec<StepUpdate> + Send + Sync
[src]

pub fn with_all_paths_mut_ctx<F>(&mut self, f: F) where
    F: Fn(PathId, &mut PackedPathMut<'b>) -> Vec<StepUpdate> + Sync + Send
[src]

pub fn with_all_paths_mut_ctx_chn<F>(&mut self, f: F) where
    F: Fn(PathId, &mut PackedPathMut<'b>) -> Vec<StepUpdate> + Sync
[src]

Trait Implementations

impl AdditiveHandleGraph for PackedGraph[src]

impl Clone for PackedGraph[src]

impl Debug for PackedGraph[src]

impl Default for PackedGraph[src]

impl<'a> GraphPathNames for &'a PackedGraph[src]

type PathName = IterView<'a, u8>

The iterator on the name of a path.

impl GraphPaths for PackedGraph[src]

type StepIx = StepPtr

impl<'a> GraphPathsRef for &'a PackedGraph[src]

type PathRef = PackedPathRef<'a>

impl HandleGraph for PackedGraph[src]

impl<'a> IntoEdges for &'a PackedGraph[src]

type Edges = EdgesIter<&'a PackedGraph>

The iterator through all the edges in the graph.

impl<'a> IntoHandles for &'a PackedGraph[src]

type Handles = NodeIdHandles<IndexMapIter<'a>>

The iterator through all of the graph's handles.

impl<'a> IntoNeighbors for &'a PackedGraph[src]

type Neighbors = EdgeListHandleIter<'a>

impl<'a> IntoNodeOccurrences for &'a PackedGraph[src]

type Occurrences = OccurrencesIter<'a>

An iterator through the steps on a path, by PathId and StepIx.

impl<'a> IntoPathIds for &'a PackedGraph[src]

type PathIds = Copied<Values<'a, Vec<u8>, PathId>>

impl<'a> IntoSequences for &'a PackedGraph[src]

type Sequence = PackedSeqIter<'a>

impl MutableGraphPaths for PackedGraph[src]

impl MutableHandles for PackedGraph[src]

impl PathSequences for PackedGraph[src]

impl SpaceUsage for PackedGraph[src]

impl SubtractiveHandleGraph for PackedGraph[src]

impl TransformNodeIds for PackedGraph[src]

Auto Trait Implementations

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<T> From<T> for T[src]

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

impl<T> MutableHandleGraph for T where
    T: AdditiveHandleGraph + SubtractiveHandleGraph + MutableHandles + TransformNodeIds
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

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.