Write missing docs in iced_graphics and iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2023-06-29 07:55:52 +02:00
parent fa5650cfd1
commit 6921564c9f
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
8 changed files with 17 additions and 5 deletions

View file

@ -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;