georust/gdal

Mutators in `Feature` don't require mutable receiver

metasim opened this issue · 0 comments

gdal::vector::Feature has several methods which mutate state, but don't require &mut self:

  • set_field_string
  • set_field_string_list
  • set_field_double
  • set_field_double_list
  • set_field_integer
  • set_field_integer_list
  • set_field_integer64
  • set_field_integer64_list
  • set_field_datetime
  • set_field

Incidentally, set_geometry does require &mut self.