rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

NonUniqueResourceId

Open stepancheg opened this issue 1 year ago • 0 comments

Follow-up to https://github.com/bevyengine/bevy/pull/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=()> { /* ... */ }
}

stepancheg avatar Nov 30 '23 06:11 stepancheg