Skip to content

Conversation

stepancheg
Copy link

@stepancheg stepancheg commented Nov 30, 2023

Follow-up to bevyengine/bevy#10793

Rendered

struct NonUniqueResourceId<T> { /* ... */ }

impl<T> NonUniqueResourceId<T> {
    fn new() -> Self { /* ... */ }
}

impl NonUniqueResourceId<T> {
    fn write_system(&self) -> impl System<In=T, Out=()> { /* ... */ }
    
    fn read_system(&self) -> impl System<(), Out=()> { /* ... */ }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant