Trait cosmic::iced_winit::graphics::damage::Damage

source ·
pub trait Damage: PartialEq {
    // Required method
    fn bounds(&self) -> Rectangle;
}
Expand description

A type that has some damage bounds.

Required Methods§

source

fn bounds(&self) -> Rectangle

Returns the bounds of the Damage.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Damage for Mesh

source§

impl<T> Damage for Primitive<T>
where T: Damage,