pub struct ClearRect {
pub rect: Rect,
pub layers: Range<Layer>,
}
Expand description
A simple struct describing a rect with integer coordinates.
Fields§
§rect: Rect
2D region.
layers: Range<Layer>
Layer range.
Trait Implementations§
impl StructuralPartialEq for ClearRect
Auto Trait Implementations§
impl Freeze for ClearRect
impl RefUnwindSafe for ClearRect
impl Send for ClearRect
impl Sync for ClearRect
impl Unpin for ClearRect
impl UnwindSafe for ClearRect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more