pub trait AdjTrait {
    fn new() -> Self;
    fn is_adjacent(&self, other_index: &usize) -> bool;
    fn add_edge(&mut self, other_index: usize) -> bool;
    fn slice(&self) -> &[usize];
}

Required Methods

Implementors