acap 0.1.1

As Close As Possible — nearest neighbor search in Rust.
Documentation
trait Foo {
    type Bar;
}

trait Baz<T>
where
    T: ?Sized + Foo,
    Self: Foo<Bar = <T as Foo>::Bar>
{}

trait Qux
where
    Self: Baz<Self>
{}

struct Qax {}

impl Foo for Qax {
    type Bar = u32;
}

impl Baz<Qax> for Qax {}

impl Qux for Qax {}