Description
LazyUpdate has two exec fn's, exec and exec_mut. However it looks like their function signatures are identical?
|
pub fn exec<F>(&self, f: F) |
|
where |
|
F: FnOnce(&mut World) + 'static, |
|
pub fn exec_mut<F>(&self, f: F) |
|
where |
|
F: FnOnce(&mut World) + 'static, |
I was wondering what is the difference between the two?
Description
LazyUpdatehas two exec fn's,execandexec_mut. However it looks like their function signatures are identical?specs/src/world/lazy.rs
Lines 303 to 305 in 81073f3
specs/src/world/lazy.rs
Lines 337 to 339 in 81073f3
I was wondering what is the difference between the two?