Skip to content

Parameterize World with a lifetime #43

Open

Description

@rj00a

It would be useful if World had a lifetime for the data contained within.

struct World<'w> {
    ...
}

We could then replace the 'static requirements for handlers and components with 'w. This would allow handlers and components to safely borrow data from outside the World.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions