Lines Matching refs:Cursor
738 pub fn cursor_front(&mut self) -> Cursor<'_, T, ID> {
740 Cursor {
747 pub fn cursor_back(&mut self) -> Cursor<'_, T, ID> {
749 Cursor {
964 pub struct Cursor<'a, T: ?Sized + ListItem<ID>, const ID: u64 = 0> {
970 impl<'a, T: ?Sized + ListItem<ID>, const ID: u64> Cursor<'a, T, ID> {
1121 cursor: &'a mut Cursor<'b, T, ID>,
1137 // `self.cursor.list` by the type invariants of `Cursor`.
1149 // access to the `CursorPeek`, the `Cursor` or the `List`. However, the `ArcBorrow` holds
1151 // `Cursor`, which in turn holds a mutable borrow on the `List`, so any such mutable
1175 // access to the `CursorPeek`, the `Cursor` or the `List`. However, the `&T` holds an
1177 // `Cursor`, which in turn holds a mutable borrow on the `List`, so any such mutable access