fn with_current<Out>(op: impl FnOnce(&Point) -> Out) -> Out {
        if let Some(current) = illicit::Env::get::<Point>() {
            op(&*current)
        } else {
            op(&Point::default())
        }
    }
/// Runs the provided closure with access to the current [`Point`].
Runs the provided closure with access to the current [`Point`].
Runs the provided closure with access to the current [ ` Point ` ] .
fn with_current<Out>(op: impl FnOnce(&Point) -> Out) -> Out {
        if let Some(current) = illicit::Env::get::<Point>() {
            op(&*current)
        } else {
            op(&Point::default())
        }
    }
fn with_current < Out > ( op : impl FnOnce ( & Point ) -> Out ) -> Out { if let Some ( current ) = illicit :: Env :: get :: < Point > ( ) { op ( & * current ) } else { op ( & Point :: default ( ) ) } }
Runs the provided closure with access to the current [`Point`].
Runs the provided closure with access to the current [ ` Point ` ] .
op
impl FnOnce(&Point) -> Out
op
impl FnOnce(&Point) -> Out