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§