pub struct IntRect { /* private fields */ }
Expand description
An integer rectangle.
Guarantees
- Width and height are in 1..=i32::MAX range.
- x+width and y+height does not overflow.
Implementations
Trait Implementations
impl Copy for IntRect
impl StructuralPartialEq for IntRect
Auto Trait Implementations
impl RefUnwindSafe for IntRect
impl Send for IntRect
impl Sync for IntRect
impl Unpin for IntRect
impl UnwindSafe for IntRect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more