Trait Connected

Source
pub trait Connected<T: VertexType> {
    // Required method
    fn connected(
        representative: &mut [T],
        a: T::IdentifierType,
        b: T::IdentifierType,
    ) -> bool;
}
Expand description

Connected operation

Required Methods§

Source

fn connected( representative: &mut [T], a: T::IdentifierType, b: T::IdentifierType, ) -> bool

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.

Implementors§

Source§

impl<H, T, const PATH_COMPRESS: bool> Connected<T> for QuickUnion<H, PATH_COMPRESS>
where T: VertexType, Self: Find<T>,

Source§

impl<T, K> Connected<T> for QuickFind<K>
where T: VertexType, Self: Find<T>,