pub trait Links {
    type LinkIndex: Copy;

    // Required method
    fn next(links: &Self, index: Self::LinkIndex) -> Option<Self::LinkIndex>;
}

Required Associated Types§

Required Methods§

source

fn next(links: &Self, index: Self::LinkIndex) -> Option<Self::LinkIndex>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

type LinkIndex = L

source§

fn next(links: &Self, index: L) -> Option<L>

§

type LinkIndex = <Ls as Links>::LinkIndex

source§

fn next(links: &Self, index: Ls::LinkIndex) -> Option<Ls::LinkIndex>

Implementors§