#[repr(C)]pub struct IRect {
pub left: i32,
pub top: i32,
pub right: i32,
pub bottom: i32,
}Fields§
§left: i32The x coordinate of the rectangle’s left edge.
top: i32The y coordinate of the rectangle’s top edge.
right: i32The x coordinate of the rectangle’s right edge.
bottom: i32The y coordinate of the rectangle’s bottom edge.
Implementations§
Trait Implementations§
impl Copy for IRect
impl Eq for IRect
impl StructuralPartialEq for IRect
Auto Trait Implementations§
impl Freeze for IRect
impl RefUnwindSafe for IRect
impl Send for IRect
impl Sync for IRect
impl Unpin for IRect
impl UnwindSafe for IRect
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