[−][src]Trait handlegraph::pathhandlegraph::embedded_paths::GraphPathNames
Trait for retrieving the PathId
for a path by name, and vice
versa.
Names are represented as an iterator over u8
s for flexibility in
underlying storage.
Associated Types
Loading content...Required methods
fn get_path_id(self, name: &[u8]) -> Option<PathId>
[src]
Returns the PathId
that the provided name
points to, if
there exists a path with that name.
fn get_path_name(self, id: PathId) -> Option<Self::PathName>
[src]
Returns an iterator that produced the name of the path id
,
if that path exists in the graph.
Provided methods
fn get_path_name_vec(self, id: PathId) -> Option<Vec<u8>>
[src]
Convenience method for retrieving a path name as a Vec<u8>
.
fn has_path(self, name: &[u8]) -> bool
[src]
Convenience method for checking whether a path exists by name.