Struct rust_raylib::ffi::Rectangle
source · #[repr(C)]pub struct Rectangle {
pub x: c_float,
pub y: c_float,
pub width: c_float,
pub height: c_float,
}Expand description
Rectangle, 4 components
Fields§
§x: c_floatRectangle top-left corner position x
y: c_floatRectangle top-left corner position y
width: c_floatRectangle width
height: c_floatRectangle height
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Rectangle
impl Send for Rectangle
impl Sync for Rectangle
impl Unpin for Rectangle
impl UnwindSafe for Rectangle
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