From ce81087037956f2a33f550585f32d0070039ade0 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 17 Aug 2026 20:25:38 +0200 Subject: add docstrings for with_name/with_description --- hittekaart/src/storage.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hittekaart/src/storage.rs b/hittekaart/src/storage.rs index d52a900..5c2d453 100644 --- a/hittekaart/src/storage.rs +++ b/hittekaart/src/storage.rs @@ -283,6 +283,9 @@ impl MbTiles { }) } + /// Set the name of this MBTiles tile store. + /// + /// The default name is `"Heatmap"`. pub fn with_name(self, name: String) -> Self { MbTiles { name, @@ -290,6 +293,10 @@ impl MbTiles { } } + /// Set (or unset) the description of this MBTiles tile store. + /// + /// By default, no description will be written. If a description has been set, it can be + /// removed by using `with_description(None)`. pub fn with_description(self, description: Option) -> Self { MbTiles { description, -- cgit v1.2.3