#[repr(C)]pub struct IntRectInterop {
pub x: c_int,
pub y: c_int,
pub w: c_int,
pub h: c_int,
}Expand description
This structure describes a rectangle, given by its top-left corner and its width and height.
Fields§
§x: c_int< The x-coordinate of the top-left corner.
y: c_int< The y-coordinate of the top-left corner.
w: c_int< The width of the rectangle.
h: c_int< The height of the rectangle.
Trait Implementations§
Source§impl Clone for IntRectInterop
impl Clone for IntRectInterop
Source§fn clone(&self) -> IntRectInterop
fn clone(&self) -> IntRectInterop
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntRectInterop
impl Debug for IntRectInterop
impl Copy for IntRectInterop
Auto Trait Implementations§
impl Freeze for IntRectInterop
impl RefUnwindSafe for IntRectInterop
impl Send for IntRectInterop
impl Sync for IntRectInterop
impl Unpin for IntRectInterop
impl UnsafeUnpin for IntRectInterop
impl UnwindSafe for IntRectInterop
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