Write missing docs in iced_graphics and iced_wgpu
This commit is contained in:
parent
fa5650cfd1
commit
6921564c9f
8 changed files with 17 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue