summaryrefslogtreecommitdiffstats
path: root/graphics/src/damage.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-06-29 07:55:52 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-06-29 07:55:52 +0200
commit6921564c9f66e8103e19ec658099c5f5c32e8cc5 (patch)
treeed833fab41f64c57a7522fea400ea42eec788e9f /graphics/src/damage.rs
parentfa5650cfd1115e6ccec2ad795cf58fd970d5b43c (diff)
downloadiced-6921564c9f66e8103e19ec658099c5f5c32e8cc5.tar.gz
iced-6921564c9f66e8103e19ec658099c5f5c32e8cc5.tar.bz2
iced-6921564c9f66e8103e19ec658099c5f5c32e8cc5.zip
Write missing docs in `iced_graphics` and `iced_wgpu`
Diffstat (limited to 'graphics/src/damage.rs')
-rw-r--r--graphics/src/damage.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/src/damage.rs b/graphics/src/damage.rs
index be17b935..2f29956e 100644
--- a/graphics/src/damage.rs
+++ b/graphics/src/damage.rs
@@ -5,6 +5,7 @@ use crate::Primitive;
use std::sync::Arc;
+/// A type that has some damage bounds.
pub trait Damage: PartialEq {
/// Returns the bounds of the [`Damage`].
fn bounds(&self) -> Rectangle;