Trait eiffelvis_core::graph::Indexable
source · [−]pub trait Indexable<T>: for<'a> HasNode<'a> {
fn get(&self, id: T) -> Option<NodeType<'_, Self>>;
fn index(&self, id: T) -> NodeType<'_, Self> { ... }
}
pub trait Indexable<T>: for<'a> HasNode<'a> {
fn get(&self, id: T) -> Option<NodeType<'_, Self>>;
fn index(&self, id: T) -> NodeType<'_, Self> { ... }
}