HasIndex

Trait HasIndex 

Source
pub trait HasIndex<'a> {
    // Required method
    fn get_index(self, graph: &mut FeatGraph<'a>) -> Result<NodeIndex>;
}

Required Methods§

Source

fn get_index(self, graph: &mut FeatGraph<'a>) -> Result<NodeIndex>

Implementations on Foreign Types§

Source§

impl HasIndex<'_> for NodeIndex

Source§

fn get_index(self, _graph: &mut FeatGraph<'_>) -> Result<NodeIndex>

Source§

impl<'a> HasIndex<'a> for &'a Package

Source§

fn get_index(self, graph: &mut FeatGraph<'a>) -> Result<NodeIndex>

Source§

impl<'a> HasIndex<'a> for (&'a Package, &'a str)

Source§

fn get_index(self, graph: &mut FeatGraph<'a>) -> Result<NodeIndex>

Implementors§

Source§

impl<'a> HasIndex<'a> for Fid<'a>

Source§

impl<'a> HasIndex<'a> for Pid<'a>