Trait kernel::linked_list::GetLinks
source · [−]pub trait GetLinks {
type EntryType: ?Sized;
fn get_links(data: &Self::EntryType) -> &Links<Self::EntryType>;
}
Expand description
A descriptor of list elements.
It describes the type of list elements and provides a function to determine how to get the links to be used on a list.
A type that may be in multiple lists simultaneously needs to implement one of these for each simultaneous list.