Skip to main content

clear

Function clear 

Source
pub fn clear<G: Clear>(g: &mut G)
Expand description

Empty the backing storage of g in place.

Mirrors boost::geometry::clear(g) from boost/geometry/algorithms/clear.hpp. Not defined for Point, Box, or Segment (fixed-size storage — see the module docs).