Lines Matching defs:Cursor
719 pub fn cursor_front(&mut self) -> Cursor<'_, T, ID> {
721 Cursor {
728 pub fn cursor_back(&mut self) -> Cursor<'_, T, ID> {
730 Cursor {
945 pub struct Cursor<'a, T: ?Sized + ListItem<ID>, const ID: u64 = 0> {
951 impl<'a, T: ?Sized + ListItem<ID>, const ID: u64> Cursor<'a, T, ID> {
1102 cursor: &'a mut Cursor<'b, T, ID>,
1118 // `self.cursor.list` by the type invariants of `Cursor`.
1130 // access to the `CursorPeek`, the `Cursor` or the `List`. However, the `ArcBorrow` holds
1132 // `Cursor`, which in turn holds a mutable borrow on the `List`, so any such mutable
1156 // access to the `CursorPeek`, the `Cursor` or the `List`. However, the `&T` holds an
1158 // `Cursor`, which in turn holds a mutable borrow on the `List`, so any such mutable access