Skip to content

Implement core::iter::Step for PhysFrame and Page #212

Open

Description

@phil-opp

This will make it possible to use Rust's native range types instead of our custom PhysFrameRange, PageRange, etc types. Note that we still need to keep these old types as the Step trait is not stable yet.

Activity

  1. phil-opp commented on Dec 28, 2020

    @phil-opp
    MemberAuthor

    I started the implementation in the step_trait branch. If someone wants to implement this, feel free to continue on top of that branch.

  2. mental32 commented on Jan 2, 2021

    @mental32
    Member

    I opened a somewhat related PR #224 that let's *Range types be constructed from Range<u64>.

    I'll check out the step_trait branch and see if I can figure out the trait (TIL core::iter::Step exists!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions