Skip to main content

with_commit

Function with_commit 

Source
pub fn with_commit<R>(f: impl FnOnce(&mut Window, &mut App) -> R) -> Option<R>
Expand description

The commit-phase accessor; None outside a Phase::Commit publication: throw, don’t fall back.