-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cordyceps: more cursor operations #224
Comments
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds `peek_next` and `peek_prev` methods to `cordyceps::list::Cursor`, similar to the methods on `std::collections::linked_list::Cursor`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds a `Cursor::remove_current` method, similar to the one on `std::collections::linked_list::CursorMut`. I also reimplemented `remove_first` to use this. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds `Cursor::current` and `Cursor::current_mut` methods, similar to the ones on `std::collections::linked_list::CursorMut`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds `peek_next` and `peek_prev` methods to `cordyceps::list::Cursor`, similar to the methods on `std::collections::linked_list::Cursor`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds a `Cursor::remove_current` method, similar to the one on `std::collections::linked_list::CursorMut`. I also reimplemented `remove_first` to use this. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds a `Cursor::remove_current` method, similar to the one on `std::collections::linked_list::CursorMut`. I also reimplemented `remove_first` to use this. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds `List::cursor_back_mut` returning a mutable cursor at the back of the list. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds a `Cursor::index` method to match the one on `std::collections::linked_list::CursorMut`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds `Cursor::insert_before` and `Cursor::insert_after` methods to match the ones on `std::collections::linked_list::CursorMut`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds `peek_next` and `peek_prev` methods to `cordyceps::list::Cursor`, similar to the methods on `std::collections::linked_list::Cursor`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds a `Cursor::remove_current` method, similar to the one on `std::collections::linked_list::CursorMut`. I also reimplemented `remove_first` to use this. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds a `Cursor::remove_current` method, similar to the one on `std::collections::linked_list::CursorMut`. I also reimplemented `remove_first` to use this. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds `List::cursor_back_mut` returning a mutable cursor at the back of the list. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds a `Cursor::index` method to match the one on `std::collections::linked_list::CursorMut`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds `Cursor::insert_before` and `Cursor::insert_after` methods to match the ones on `std::collections::linked_list::CursorMut`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds `List::cursor_back_mut` returning a mutable cursor at the back of the list. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds a `Cursor::index` method to match the one on `std::collections::linked_list::CursorMut`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 18, 2022
This adds `Cursor::insert_before` and `Cursor::insert_after` methods to match the ones on `std::collections::linked_list::CursorMut`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 21, 2022
This adds `List::cursor_back_mut` returning a mutable cursor at the back of the list. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 21, 2022
This adds a `Cursor::index` method to match the one on `std::collections::linked_list::CursorMut`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
hawkw
added a commit
that referenced
this issue
Jun 21, 2022
This adds `Cursor::insert_before` and `Cursor::insert_after` methods to match the ones on `std::collections::linked_list::CursorMut`. Closes #224 Signed-off-by: Eliza Weisman <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it would be nice if the intrusive linked list cursor implemented all the methods on
std::collections::linked_list::Cursor
The text was updated successfully, but these errors were encountered: