summaryrefslogtreecommitdiffstats
path: root/native/src/layout.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-10 01:25:49 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-10 01:25:49 +0200
commitce8cb228ef608b247c8a84f9d3a4a7faff68b355 (patch)
tree97102b9d90b1ce3ffcddc5b7faa9e26ce7ce340a /native/src/layout.rs
parent33e6682882cd09dd210da123eb3b893e33bd977d (diff)
parent46ce3a1f0004ddc527ba3de1ffe3dac3f41a06c3 (diff)
downloadiced-ce8cb228ef608b247c8a84f9d3a4a7faff68b355.tar.gz
iced-ce8cb228ef608b247c8a84f9d3a4a7faff68b355.tar.bz2
iced-ce8cb228ef608b247c8a84f9d3a4a7faff68b355.zip
Merge branch 'master' into feature/overlay
Diffstat (limited to 'native/src/layout.rs')
-rw-r--r--native/src/layout.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/layout.rs b/native/src/layout.rs
index 178f0f24..93d95e17 100644
--- a/native/src/layout.rs
+++ b/native/src/layout.rs
@@ -34,14 +34,14 @@ impl<'a> Layout<'a> {
}
}
- /// Gets the position of the [`Layout`].
+ /// Returns the position of the [`Layout`].
///
/// [`Layout`]: struct.Layout.html
pub fn position(&self) -> Point {
self.position
}
- /// Gets the bounds of the [`Layout`].
+ /// Returns the bounds of the [`Layout`].
///
/// The returned [`Rectangle`] describes the position and size of a
/// [`Node`].