pub trait ParentPolicy<G>where
G: GraphBase,{
type State;
// Required methods
fn init(graph: &G) -> Self::State;
fn save_parent(
graph: &G,
state: &mut Self::State,
from: G::VIndex,
to: G::VIndex,
);
}Required Associated Types§
Required Methods§
fn init(graph: &G) -> Self::State
fn save_parent( graph: &G, state: &mut Self::State, from: G::VIndex, to: G::VIndex, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.