[][src]Trait handlegraph::mutablehandlegraph::MutableHandleGraph

pub trait MutableHandleGraph: HandleGraph {
    fn append_handle(&mut self, seq: &[u8]) -> Handle;
fn create_handle<T: Into<NodeId>>(
        &mut self,
        seq: &[u8],
        node_id: T
    ) -> Handle;
fn create_edge(&mut self, edge: &Edge);
fn divide_handle(
        &mut self,
        handle: Handle,
        offsets: Vec<usize>
    ) -> Vec<Handle>; fn split_handle(
        &mut self,
        handle: Handle,
        offset: usize
    ) -> (Handle, Handle) { ... } }

Trait encapsulating the mutable aspects of a handlegraph WIP

Required methods

fn append_handle(&mut self, seq: &[u8]) -> Handle

fn create_handle<T: Into<NodeId>>(&mut self, seq: &[u8], node_id: T) -> Handle

fn create_edge(&mut self, edge: &Edge)

fn divide_handle(&mut self, handle: Handle, offsets: Vec<usize>) -> Vec<Handle>

Loading content...

Provided methods

fn split_handle(&mut self, handle: Handle, offset: usize) -> (Handle, Handle)

Loading content...

Implementors

impl MutableHandleGraph for HashGraph[src]

Loading content...