pub trait GraphQuery<'g> {
type Id: Copy + Eq + Hash + Debug;
type Set: GraphSet<'g, Id = Self::Id>;
// Required methods
fn direction(&self) -> DependencyDirection;
fn starts_from(&self, id: Self::Id) -> bool;
fn resolve(self) -> Self::Set;
}Required Associated Types§
Required Methods§
fn direction(&self) -> DependencyDirection
fn starts_from(&self, id: Self::Id) -> bool
fn resolve(self) -> Self::Set
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".