summaryrefslogtreecommitdiffstats
path: root/graphics/src/damage.rs
diff options
context:
space:
mode:
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;