Searched refs:ListItem (Results 1 – 2 of 2) sorted by relevance
| /linux/rust/kernel/ |
| H A D | list.rs | 279 pub struct List<T: ?Sized + ListItem<ID>, const ID: u64 = 0> { 289 T: ?Sized + ListItem<ID>, 297 T: ?Sized + ListItem<ID>, 309 pub unsafe trait ListItem<const ID: u64 = 0>: ListArcSafe<ID> { trait 482 impl<T: ?Sized + ListItem<ID>, const ID: u64> List<T, ID> { 767 impl<T: ?Sized + ListItem<ID>, const ID: u64> Default for List<T, ID> { 773 impl<T: ?Sized + ListItem<ID>, const ID: u64> Drop for List<T, ID> { 789 pub struct Iter<'a, T: ?Sized + ListItem<ID>, const ID: u64 = 0> { 795 impl<'a, T: ?Sized + ListItem<ID>, const ID: u64> Iterator for Iter<'a, T, ID> { 964 pub struct Cursor<'a, T: ?Sized + ListItem<ID>, const ID: u64 = 0> { [all …]
|
| /linux/rust/kernel/list/ |
| H A D | impl_list_item_mod.rs | 9 /// This trait is only used to help implement [`ListItem`] safely. If [`ListItem`] is implemented 18 /// [`ListItem`]: crate::list::ListItem 103 /// Implements the [`ListItem`] trait for the given type. 108 /// [`ListItem`]: crate::list::ListItem 125 /// impl ListItem<0> for SimpleListItem { using ListLinks { self.links }; } 144 /// impl{T, U} ListItem<0> for ComplexListItem<T, U> { using ListLinks { self.links.inner }; } 161 /// impl ListItem< [all...] |