Skip to main content

get_pooled_point

Function get_pooled_point 

Source
pub fn get_pooled_point(x: f64, y: f64) -> PoolGuard<'static, Point>
Expand description

Gets a Point from the thread-local pool

If the pool is empty, creates a new Point with the given coordinates.