Trait Bounded
pub trait Bounded: Debug {
// Required methods
fn bounds(&self) -> Rectangle;
fn visible_bounds(&self) -> Option<Rectangle>;
}
Expand description
Required Methods§
fn visible_bounds(&self) -> Option<Rectangle>
fn visible_bounds(&self) -> Option<Rectangle>
Returns the visible bounds, in screen coordinates.