pub fn try_with_writer<R>(f: impl FnOnce(&mut VgaWriter) -> R) -> Option<R>
Performs the try with writer operation.